diff --git a/build.gradle b/build.gradle index f17811d9a1250a01764fb80fae2e8cb47b272fc3..8ccdfd2523774acb9139be4dbeb2ee6f75c9ce86 100644 --- a/build.gradle +++ b/build.gradle @@ -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') diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000000000000000000000000000000000000..63fe06e83e14540d3255de08c8d4415982ee10c0 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,2 @@ +# Override these in ~/.gradle/gradle.properties if necessary +i2pBootClasspath=