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 sourceCompatibility = 1.7
// Set bootClasspath=/path/to/rt.jar:/path/to/jce.jar in gradle.properties if needed // Set i2pBootClasspath=/path/to/rt.jar:/path/to/jce.jar in ~/.gradle/gradle.properties if needed
// Please check if you forgot to check in gradle.properties --zab if (i2pBootClasspath) {
// if (bootClasspath) { tasks.withType(AbstractCompile, { AbstractCompile ac ->
// tasks.withType(AbstractCompile, { AbstractCompile ac -> ac.options.bootstrapClasspath = files(i2pBootClasspath)
// ac.options.bootstrapClasspath = files(bootClasspath) })
// }) }
// }
} }
//apply from: file('gradle/update.gradle') //apply from: file('gradle/update.gradle')

2
gradle.properties Normal file
View File

@@ -0,0 +1,2 @@
# Override these in ~/.gradle/gradle.properties if necessary
i2pBootClasspath=