Skip to content

Commit

Permalink
Switch build-logic to buildSrc
Browse files Browse the repository at this point in the history
Composite build doesn't work with Dokka workaround: Kotlin/dokka#2977 (comment)
  • Loading branch information
jeffdgr8 committed Jun 1, 2023
1 parent 464d032 commit f053e40
Show file tree
Hide file tree
Showing 18 changed files with 16 additions and 18 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions couchbase-lite-ee-ktx/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id("multiplatform-convention")
id("library-convention")
`multiplatform-convention`
`library-convention`
}

kotlin {
Expand Down
2 changes: 1 addition & 1 deletion couchbase-lite-ee-paging/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("library-convention")
`library-convention`
}

kotlin {
Expand Down
4 changes: 2 additions & 2 deletions couchbase-lite-ee/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions couchbase-lite-ktx/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id("multiplatform-convention")
id("library-convention")
`multiplatform-convention`
`library-convention`
}

kotlin {
Expand Down
2 changes: 1 addition & 1 deletion couchbase-lite-paging/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("library-convention")
`library-convention`
}

kotlin {
Expand Down
4 changes: 2 additions & 2 deletions couchbase-lite/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 0 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion testing-support-ee/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("multiplatform-convention")
`multiplatform-convention`
}

kotlin {
Expand Down
2 changes: 1 addition & 1 deletion testing-support/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("multiplatform-convention")
`multiplatform-convention`
}

kotlin {
Expand Down

0 comments on commit f053e40

Please sign in to comment.