:gradle-intensifies: In the Kotlin team we've star...
# gradle
t
gradle intensifies In the Kotlin team we've started looking into Kotlin DSL for Declarative Gradle. It is our chance to fix problems in existing KMP kts DSL without going through painful breaking changes. One of the challenges we have is how to design DSL for generic Kotlin library. Specifically configuration that applies to a family of Kotlin targets, not all targets. If you have some examples of shared configuration that you apply to subset of enabled targets in your existing library projects - please share them in the thread to this message. Also generic ideas on how Kotlin Library DCL DSL could look like are also welcome.
❤️ 6
e
This isn't a great API, but I mostly use these plugins to configure defaults for all modules in the root
build.gradle.kts
and never need to change values in the modules themselves. My KGP setup does some work across all targets via sourceSets and tasks.