robstoll
08/08/2021, 12:31 PMrobstoll
08/08/2021, 1:03 PMkotlin-dsl pluginVampire
08/08/2021, 6:37 PMkotlin-dsl applies java-gradle-plugin, kotlin-dsl.base, and kotlin-dsl.precompiled-script-plugins plugins
kotlin-dsl.base plugin applies embedded-kotlin, adds gradleKotlinDsl() to the dependencies of compileOnly and testImplementation configurations, and configures the Kotlin DSL compiler plugins for example for proper SAM conversion for Action and similar.
So if you are just after having the Gradle Kotlin DSL classes in your dependencies, you can use gradleKotlinDsl() 🙂Vampire
08/08/2021, 6:37 PMdependencies { compileOnly(gradleKotlinDsl()) }robstoll
08/08/2021, 6:38 PM