Fix 'bootClasspath' deprecation

This commit is contained in:
Lanchon 2019-11-16 23:37:03 -03:00
parent 63d7b4f5d6
commit dabe92a6c2

View File

@ -23,7 +23,7 @@ version = dexlib2Version + multidexlib2VersionSuffix
sourceCompatibility = '1.7'
def jdk = findProperty('JDK7_HOME') ?: '/usr/lib/jvm/java-7-openjdk-amd64'
def jdk_rt = new File(jdk, 'jre/lib/rt.jar')
if (jdk_rt.exists()) compileJava.options.bootClasspath = jdk_rt
if (jdk_rt.exists()) compileJava.options.bootstrapClasspath = files(jdk_rt)
repositories {
jcenter()