Fix compilation without bootstrap classpath set

This commit is contained in:
str4d
2017-12-04 08:12:37 +13:00
parent 96784b88bb
commit 766d5ef00f
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
# Config files
gradle.properties
local.properties
signing.properties

View File

@ -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
View File

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