https://kotlinlang.org logo
b

Bruno Garcia

09/12/2019, 12:03 AM
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

gildor

09/12/2019, 1:22 AM
use method syntax:
Copy code
setSourceCompatibility(VERSION_1.8)
1
b

Bruno Garcia

09/12/2019, 2:37 PM
Thanks!