mirror of
https://github.com/revanced/multidexlib2.git
synced 2025-04-29 22:24:28 +02:00
build: target Java 1.8
This commit is contained in:
parent
f718380032
commit
81179c6430
@ -23,10 +23,8 @@ version = dexlib2Version + multidexlib2VersionSuffix
|
||||
ext.mainArtifact = 'multidexlib2'
|
||||
ext.artifactName = mainArtifact
|
||||
|
||||
sourceCompatibility = '1.7'
|
||||
def jdk = findProperty('JDK7_HOME') as String ?: '/usr/lib/jvm/java-7-openjdk-amd64'
|
||||
def jdk_rt = new File(jdk, 'jre/lib/rt.jar')
|
||||
if (jdk_rt.exists()) compileJava.options.bootstrapClasspath = files(jdk_rt)
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
|
Loading…
x
Reference in New Issue
Block a user