diff --git a/build.gradle b/build.gradle index 8521fd1d..f791d99c 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,5 @@ +import org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapperKt + plugins { id "com.starter.config" id "com.starter.versioning" @@ -10,7 +12,7 @@ commonConfig { allprojects { pluginManager.withPlugin("kotlin") { plugin -> - def kotlinVersion = plugins.getPlugin("kotlin").kotlinPluginVersion + def kotlinVersion = KotlinPluginWrapperKt.getKotlinPluginVersion(project) configurations.configureEach { resolutionStrategy.eachDependency { if (requested.group == 'org.jetbrains.kotlin' && requested.name.startsWith("kotlin")) { diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index a27452bb..8bb282df 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id 'java-gradle-plugin' id "org.jmailen.kotlinter" version "3.10.0" - id 'org.jetbrains.kotlin.jvm' version '1.6.21' + id 'org.jetbrains.kotlin.jvm' version '1.7.0' } repositories {