Skip to content

Instantly share code, notes, and snippets.

@childnode
Created February 25, 2016 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save childnode/275dced0705b61381626 to your computer and use it in GitHub Desktop.
Save childnode/275dced0705b61381626 to your computer and use it in GitHub Desktop.
gradle idea plugin workaround for dir-based configuration #2
sourceCompatibility = JavaVersion.VERSION_1_8
// !! HAVE TO BE SET AFTER project.sourceCompatibility
idea {
project {
// explicit set to sourceCompatibility since default is JVM level that runs gradle
jdkName = project.sourceCompatibility
outputFile = new File('.idea/modules.xml')
}
}
@childnode
Copy link
Author

see #1 in ⬅️ https://gist.github.com/childnode/12757be70b2895a1eed0

but: not seems to work either

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment