https://kotlinlang.org logo
Title
i

ikej

01/09/2019, 10:42 AM
I like the provider properties, but it would be really cool if Kotlin supported an assignment operator, so you could write
jar {
    archiveBaseName = "myJar"
}
instead of the
jar {
    archiveBaseName.set("myJar")
}
that is required since Gradle 5.1.
c

Czar

01/09/2019, 12:07 PM
Please, no overloading on assignment operator 🙏 I'd much prefer if there were some nice accessors for those
Provider.set()
and
Provider.get()
in kotlin-dsl
i

ikej

01/09/2019, 9:13 PM
The old methods are such accessors but they of course have a different name and they are deprecated.