Fix compilation without bootstrap classpath set

This commit is contained in:
str4d
2017-11-03 01:05:37 +00:00
parent e34ab0b7a8
commit 49d970c5bc
2 changed files with 8 additions and 7 deletions

View File

@@ -20,13 +20,12 @@ subprojects {
}
sourceCompatibility = 1.7
// Set bootClasspath=/path/to/rt.jar:/path/to/jce.jar in gradle.properties if needed
// Please check if you forgot to check in gradle.properties --zab
// if (bootClasspath) {
// tasks.withType(AbstractCompile, { AbstractCompile ac ->
// ac.options.bootstrapClasspath = files(bootClasspath)
// })
// }
// Set i2pBootClasspath=/path/to/rt.jar:/path/to/jce.jar in ~/.gradle/gradle.properties if needed
if (i2pBootClasspath) {
tasks.withType(AbstractCompile, { AbstractCompile ac ->
ac.options.bootstrapClasspath = files(i2pBootClasspath)
})
}
}
//apply from: file('gradle/update.gradle')