Fix compilation without bootstrap classpath set
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
||||
# Config files
|
||||
gradle.properties
|
||||
local.properties
|
||||
signing.properties
|
||||
|
||||
|
@ -26,10 +26,10 @@ configure([project(':core'), project(':webapp')]) {
|
||||
|
||||
sourceCompatibility = 1.7
|
||||
targetCompatibility = 1.7
|
||||
// Set bootClasspath=/path/to/rt.jar:/path/to/jce.jar in gradle.properties if needed
|
||||
if (bootClasspath) {
|
||||
// Set i2pBootClasspath=/path/to/rt.jar:/path/to/jce.jar in gradle.properties if needed
|
||||
if (i2pBootClasspath) {
|
||||
project.tasks.withType(AbstractCompile, { AbstractCompile ac ->
|
||||
ac.options.bootClasspath = bootClasspath
|
||||
ac.options.bootClasspath = i2pBootClasspath
|
||||
})
|
||||
}
|
||||
}
|
||||
|
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