From 9c08d70e1c88aec5cc945e45eabd38cc503b9cc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hasan=20Demirta=C5=9F?= Date: Thu, 22 Aug 2024 09:26:31 +0300 Subject: [PATCH] move in. (#4) --- buildSrc/build.gradle.kts | 6 ++++-- gradle/libs.versions.toml | 7 ------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 58dcfe4..2ffdc89 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -1,4 +1,4 @@ -plugins { alias(libs.plugins.kotlin.dsl) } +plugins { `kotlin-dsl` } repositories { mavenCentral() @@ -6,7 +6,9 @@ repositories { } dependencies { - implementation(libs.kotlin.plugin) + implementation( + "org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:${embeddedKotlinVersion}" + ) implementation(libs.dokka.plugin) implementation(libs.spotless.plugin) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1b437db..df6448c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,10 +1,3 @@ -[versions] -kotlin = "2.0.0" - [libraries] -kotlin-plugin = { module = "org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin", version.ref = "kotlin" } dokka-plugin = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version = "1.9.20" } spotless-plugin = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "6.25.0" } - -[plugins] -kotlin-dsl = { id = "org.gradle.kotlin.kotlin-dsl", version = "5.1.0" }