Slackbot
04/27/2022, 5:12 PMChris Lee
04/27/2022, 5:14 PMMartin
04/27/2022, 5:15 PMCould not find method gradleKotlinDsl() for arguments [] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Martin
04/27/2022, 5:16 PMkotlin-dsl
plugin appliedChris Lee
04/27/2022, 5:16 PMMartin
04/27/2022, 5:17 PMkotlin-dsl
plugin from a build.gradle
file?Martin
04/27/2022, 5:18 PMkotlin-dsl
is itself a Kotlin extension ♻️Chris Lee
04/27/2022, 5:18 PMMartin
04/27/2022, 5:18 PMChris Lee
04/27/2022, 5:18 PMMartin
04/27/2022, 5:18 PMMartin
04/27/2022, 5:19 PMkotlinDslPluginsVersion
:
val PluginDependenciesSpec.`kotlin-dsl`: PluginDependencySpec
get() = id("org.gradle.kotlin.kotlin-dsl") version "$kotlinDslPluginsVersion"
Chris Lee
04/27/2022, 5:19 PMMartin
04/27/2022, 5:19 PMMartin
04/27/2022, 5:20 PMChris Lee
04/27/2022, 5:20 PMMartin
04/27/2022, 5:21 PMMartin
04/27/2022, 5:22 PMkotlin-dsl
for some helper functionsChris Lee
04/27/2022, 5:22 PMoverride fun apply(project: Project): Unit = project.run {
warnOnUnexpectedKotlinDslPluginVersion()
apply<JavaGradlePluginPlugin>()
apply<KotlinDslBasePlugin>()
apply<PrecompiledScriptPlugins>()
}
Martin
04/27/2022, 5:23 PM