mirror of
https://github.com/revanced/Apktool.git
synced 2024-08-28 18:16:41 +02:00
fix: enforce java 1.8 compatibility with built artifacts (#3330)
This commit is contained in:
parent
515af4faf8
commit
f3936cbd22
@ -72,11 +72,6 @@ plugins {
|
||||
signing
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
options.compilerArgs.add("-Xlint:-options")
|
||||
options.compilerArgs.add("--release 8")
|
||||
@ -95,6 +90,11 @@ subprojects {
|
||||
apply(plugin = "java")
|
||||
apply(plugin = "java-library")
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
val mavenProjects = arrayOf("apktool-lib", "apktool-cli", "brut.j.common", "brut.j.util", "brut.j.dir")
|
||||
|
||||
if (project.name in mavenProjects) {
|
||||
|
Loading…
Reference in New Issue
Block a user