diff --git a/build.gradle.kts b/build.gradle.kts index b640c7cac..78e114553 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ plugins { - alias(libs.plugins.kotlin.multiplatform) apply false - alias(libs.plugins.android.library) apply false - alias(libs.plugins.dokka) + id(libs.plugins.kotlin.multiplatform.get().pluginId) apply false + id(libs.plugins.android.library.get().pluginId) apply false + id(libs.plugins.dokka.get().pluginId) } allprojects { diff --git a/build-logic/build.gradle.kts b/buildSrc/build.gradle.kts similarity index 100% rename from build-logic/build.gradle.kts rename to buildSrc/build.gradle.kts diff --git a/build-logic/settings.gradle.kts b/buildSrc/settings.gradle.kts similarity index 100% rename from build-logic/settings.gradle.kts rename to buildSrc/settings.gradle.kts diff --git a/build-logic/src/main/kotlin/base-convention.gradle.kts b/buildSrc/src/main/kotlin/base-convention.gradle.kts similarity index 100% rename from build-logic/src/main/kotlin/base-convention.gradle.kts rename to buildSrc/src/main/kotlin/base-convention.gradle.kts diff --git a/build-logic/src/main/kotlin/libcblite.kt b/buildSrc/src/main/kotlin/libcblite.kt similarity index 100% rename from build-logic/src/main/kotlin/libcblite.kt rename to buildSrc/src/main/kotlin/libcblite.kt diff --git a/build-logic/src/main/kotlin/library-convention.gradle.kts b/buildSrc/src/main/kotlin/library-convention.gradle.kts similarity index 100% rename from build-logic/src/main/kotlin/library-convention.gradle.kts rename to buildSrc/src/main/kotlin/library-convention.gradle.kts diff --git a/build-logic/src/main/kotlin/multiplatform-convention.gradle.kts b/buildSrc/src/main/kotlin/multiplatform-convention.gradle.kts similarity index 100% rename from build-logic/src/main/kotlin/multiplatform-convention.gradle.kts rename to buildSrc/src/main/kotlin/multiplatform-convention.gradle.kts diff --git a/build-logic/src/main/kotlin/rules/CouchbaseLiteRule.kt b/buildSrc/src/main/kotlin/rules/CouchbaseLiteRule.kt similarity index 100% rename from build-logic/src/main/kotlin/rules/CouchbaseLiteRule.kt rename to buildSrc/src/main/kotlin/rules/CouchbaseLiteRule.kt diff --git a/couchbase-lite-ee-ktx/build.gradle.kts b/couchbase-lite-ee-ktx/build.gradle.kts index 90b41319e..c6f472558 100644 --- a/couchbase-lite-ee-ktx/build.gradle.kts +++ b/couchbase-lite-ee-ktx/build.gradle.kts @@ -1,6 +1,6 @@ plugins { - id("multiplatform-convention") - id("library-convention") + `multiplatform-convention` + `library-convention` } kotlin { diff --git a/couchbase-lite-ee-paging/build.gradle.kts b/couchbase-lite-ee-paging/build.gradle.kts index 854cae6a5..928346ae1 100644 --- a/couchbase-lite-ee-paging/build.gradle.kts +++ b/couchbase-lite-ee-paging/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - id("library-convention") + `library-convention` } kotlin { diff --git a/couchbase-lite-ee/build.gradle.kts b/couchbase-lite-ee/build.gradle.kts index 7d0fcf1fe..2b6b4169e 100644 --- a/couchbase-lite-ee/build.gradle.kts +++ b/couchbase-lite-ee/build.gradle.kts @@ -4,8 +4,8 @@ import org.jetbrains.kotlin.gradle.tasks.DefFileTask import org.jetbrains.kotlin.konan.target.Family plugins { - id("multiplatform-convention") - id("library-convention") + `multiplatform-convention` + `library-convention` } kotlin { diff --git a/couchbase-lite-ktx/build.gradle.kts b/couchbase-lite-ktx/build.gradle.kts index 31dfb8b6b..581a507c2 100644 --- a/couchbase-lite-ktx/build.gradle.kts +++ b/couchbase-lite-ktx/build.gradle.kts @@ -1,6 +1,6 @@ plugins { - id("multiplatform-convention") - id("library-convention") + `multiplatform-convention` + `library-convention` } kotlin { diff --git a/couchbase-lite-paging/build.gradle.kts b/couchbase-lite-paging/build.gradle.kts index 887e911d7..499f3340b 100644 --- a/couchbase-lite-paging/build.gradle.kts +++ b/couchbase-lite-paging/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - id("library-convention") + `library-convention` } kotlin { diff --git a/couchbase-lite/build.gradle.kts b/couchbase-lite/build.gradle.kts index b70560593..ad1629d7f 100755 --- a/couchbase-lite/build.gradle.kts +++ b/couchbase-lite/build.gradle.kts @@ -4,8 +4,8 @@ import org.jetbrains.kotlin.gradle.tasks.DefFileTask import org.jetbrains.kotlin.konan.target.Family plugins { - id("multiplatform-convention") - id("library-convention") + `multiplatform-convention` + `library-convention` } kotlin { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f653bf934..a22e3c8e3 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -8,7 +8,7 @@ mockk = "1.13.3" # 1.13.4 breaks QueryExtensionKtTest on Android https://github. [plugins] android-library = { id = "com.android.library", version = "7.4.2" } dokka = { id = "org.jetbrains.dokka", version = "1.8.10" } -kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version = "1.9.0-RC-237" } +kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version = "1.9.0-RC-238" } [libraries] androidx-lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version = "2.6.1" } diff --git a/settings.gradle.kts b/settings.gradle.kts index dea36d376..06f3edfdc 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -19,8 +19,6 @@ dependencyResolutionManagement { rootProject.name = "couchbase-lite-kmp" -includeBuild("build-logic") - include(":couchbase-lite", ":couchbase-lite-ee") include(":couchbase-lite-ktx", ":couchbase-lite-ee-ktx") include(":couchbase-lite-paging", ":couchbase-lite-ee-paging") diff --git a/testing-support-ee/build.gradle.kts b/testing-support-ee/build.gradle.kts index f38676729..eff844fd0 100644 --- a/testing-support-ee/build.gradle.kts +++ b/testing-support-ee/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - id("multiplatform-convention") + `multiplatform-convention` } kotlin { diff --git a/testing-support/build.gradle.kts b/testing-support/build.gradle.kts index 674aac417..0eba8ec82 100644 --- a/testing-support/build.gradle.kts +++ b/testing-support/build.gradle.kts @@ -1,5 +1,5 @@ plugins { - id("multiplatform-convention") + `multiplatform-convention` } kotlin {