Last active
May 1, 2020 19:17
-
-
Save mikeslattery/4985fa3bd54e74cc8813f3e3c9328a50 to your computer and use it in GitHub Desktop.
Build gradle projects to RAM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This goes in ~/.gradle/init.d/tmpfs.gradle | |
def ramdir='/tmp/gradle' | |
gradle.projectsLoaded { | |
rootProject.allprojects { | |
buildDir = "${ramdir}${project.path}/build" | |
//println "${project.name}.buildDir = ${buildDir}" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment