Add bootstrap classpath JARs if necessary

This commit is contained in:
str4d
2017-10-31 08:35:04 +00:00
parent db17aa048d
commit 3eef793bda

View File

@@ -11,12 +11,19 @@ subprojects {
testCompile 'org.hamcrest:hamcrest-library:1.3'
}
sourceCompatibility = 1.7
jar {
manifest {
attributes 'Implementation-Version': '0.9.31-7'
}
}
sourceCompatibility = 1.7
// Set bootClasspath=/path/to/rt.jar:/path/to/jce.jar in gradle.properties if needed
if (bootClasspath) {
tasks.withType(AbstractCompile, { AbstractCompile ac ->
ac.options.bootstrapClasspath = files(bootClasspath)
})
}
}
//apply from: file('gradle/update.gradle')