forked from I2P_Developers/i2p.i2p
Fix compilation without bootstrap classpath set
This commit is contained in:
13
build.gradle
13
build.gradle
@@ -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
2
gradle.properties
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Override these in ~/.gradle/gradle.properties if necessary
|
||||||
|
i2pBootClasspath=
|
Reference in New Issue
Block a user