mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Include java.lang.invoke classes in bootstrap classpath.
This commit is contained in:
@@ -36,10 +36,5 @@ dependencyVerification {
|
||||
|
||||
// If a Java 6 JRE is available, check we're not using any Java 7 or 8 APIs
|
||||
tasks.withType(JavaCompile) {
|
||||
doFirst {
|
||||
def home = System.env.JAVA_6_HOME;
|
||||
if (home != null && !home.isEmpty()) {
|
||||
options.bootstrapClasspath = files("${home}/jre/lib/rt.jar", "${home}/jre/lib/jsse.jar")
|
||||
}
|
||||
}
|
||||
useJava6StandardLibrary(it)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user