Issue #111: downgrade required java to 11

pull/140/head
cfig 2 years ago
parent cb8e2530ce
commit 8be3510b67
No known key found for this signature in database
GPG Key ID: B104C307F0FDABB7

@ -5,7 +5,7 @@
A tool for reverse engineering Android ROM images.
## Requirements
Make sure you have [JDK17](https://www.oracle.com/java/technologies/downloads/#java17) and [Python3](https://www.python.org/downloads/).
Make sure you have [JDK11+](https://www.oracle.com/java/technologies/downloads/#java17) and [Python3](https://www.python.org/downloads/).
* Linux / WSL: `sudo apt install git device-tree-compiler lz4 xz-utils zlib1g-dev openjdk-17-jdk gcc g++ python3 python-is-python3 p7zip-full`

@ -57,11 +57,16 @@ application {
mainClass.set("cfig.packable.PackableLauncherKt")
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
tasks.withType<KotlinCompile>().all {
kotlinOptions {
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
freeCompilerArgs += "-opt-in=kotlin.ExperimentalUnsignedTypes"
jvmTarget = "17"
jvmTarget = "11"
}
}

@ -49,11 +49,16 @@ dependencies {
testImplementation("com.fasterxml.jackson.core:jackson-databind:2.13.3")
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
tasks.withType<KotlinCompile>().all {
kotlinOptions {
freeCompilerArgs += "-opt-in=kotlin.RequiresOptIn"
freeCompilerArgs += "-opt-in=kotlin.ExperimentalUnsignedTypes"
jvmTarget = "17"
jvmTarget = "11"
}
}

Loading…
Cancel
Save