Closed linsui closed 1 year ago
@linsui It will use JDK 8 to compile the codegen module. Can you please try to recompile using the following configuration? codegen/build.gradle.kts
plugins {
id("java-library")
kotlin("jvm")
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlin {
jvmToolchain(17)
}
dependencies {
implementation("com.squareup:kotlinpoet-ksp:1.12.0")
implementation("com.google.devtools.ksp:symbol-processing-api:1.8.0-1.0.8")
}
Describe the bug https://gitlab.com/linsui/fdroiddata/-/jobs/4226710791 I guess this is caused by https://github.com/osfans/trime/pull/971/commits/b34c40ab1534b0c4a106c2ae006cf585865a4347. Does this mean we need to have both jdk 8 and jdk 17 installed?