All examples i find to set the Java version to 1.8 are done under `android.compileOptions` But with ...
b
All examples i find to set the Java version to 1.8 are done under
android.compileOptions
But with kotlin DSL I get an error (there’s no setter):
g
use method syntax:
Copy code
setSourceCompatibility(VERSION_1.8)
1
b
Thanks!