any hint?
# gradle
t
any hint?
b
looks weird
thats mine
tasks.withType<KotlinCompile> { kotlinOptions { jvmTarget = “1.8” freeCompilerArgs = listOf(“-Xjsr305=strict”) } }
I’d format both tasks like that and check if that fixes something
as in: I’d try ``` tasks.withType<KotlinCompile> { kotlinOptions { jvmTarget = “1.8” freeCompilerArgs = listOf(“-Xjsr305=strict”) } } tasks.withType<JavaCompile> { options.encoding = “UTF-8” targetCompatibility = “1.8" } ``
t
Copy code
tasks.withType<KotlinCompile> {
   kotlinOptions {
       jvmTarget = “1.8”
       freeCompilerArgs = listOf(“-Xjsr305=strict”)
   }
}
this was it. I did a copy/paste wrong, probably better not to deploy to production today 🤦‍♂️
n
Much safer to try it out in a separate branch away from the main code base.