JavaQuickNotes - henk52/knowledgesharing GitHub Wiki
Java quick notes
gradle
See:
Referencing the username password in build.graddle, via properties
in ~/.gradle/gradle.properties put:
- mavenUser=
- mavenPassword=
"secure" it with: chmod 600 ~/.gradle/gradle.properties
Put the following in the build.graddle file:
repositories {
maven {
credentials {
username "$mavenUser"
password "$mavenPassword"
}
url = 'https://XXX/maven-release'
}
flatDir {
dirs 'libs/'
}
jcenter()
}
Referencing
IntelliJ
- gradle cache is in ~/.graddle/caches
Troubleshooting
Troubleshooting IntelliJ
compile 11 on 1.8 meh meh
Can't remember the exact wording.
Go look in: File -> settings: 'Build,execution, Deployment' -> Build Tools -> Gradle