Join Slack
Communities
Powered by
hi there, I’m currently migrating build.gradle scr...
# gradle
m
max
05/17/2018, 6:21 PM
hi there, I’m currently migrating build.gradle scripts to kts, in our multiproject build we have android and java libs and in one of java libs we set
sourceCompatibility
at the root of the buildscript, this property is not longer recognized in kts, what would be the equivalent dsl for setting it up? thanks
m
mkobit
05/17/2018, 6:22 PM
https://github.com/gradle/kotlin-dsl/blob/065477f88492f2daf76e4cdd3f73e3f1d5c8ecf2/samples/hello-world/build.gradle.kts#L9-L12
m
max
05/17/2018, 7:45 PM
yah, I thought there should be a java dsl for that, but AS doesn’t recognize it
max
05/17/2018, 8:34 PM
ah, I see there was AS sync issue. got it to work. Thanks
2
Views
Open in Slack
Previous
Next