How to define Gradle's home in IDEA? -
i trying import gradle project intellij, , when gradle home textbox, not automatically populated, nor typing in path of gradle home result in valid location - have gradle_user_home environment variable set (to think is!) correct path, , have been able import same project eclipse. suggestions?
you can write simple gradle script print gradle_home directory.
task gethomedir << { println gradle.gradlehomedir } and name build.gradle.
then run with:
gradle gethomedir if installed homebrew, use brew info gradle find base path (i.e. /usr/local/cellar/gradle/1.10/), , append libexec.
Comments
Post a Comment