Skip to content

Commit 5b4a923

Browse files
committed
Update SqlDelight Signature
1 parent f6a864b commit 5b4a923

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

antibytes-dependency-catalog-builder/src/main/kotlin/tech/antibytes/gradle/dependency/catalog/module/square/SqlDelight.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ import tech.antibytes.gradle.dependency.catalog.GradlePlugin
1111
import tech.antibytes.gradle.dependency.catalog.MavenArtifact
1212
import tech.antibytes.gradle.dependency.catalog.MavenKmpArtifact
1313
import tech.antibytes.gradle.dependency.catalog.Platform
14-
import tech.antibytes.gradle.dependency.catalog.module.Square
1514

1615
internal object SqlDelight {
17-
private const val group = "${Square.domain}.sqldelight"
16+
private const val group = "app.cash.sqldelight"
1817
val driver = Driver
1918

2019
internal object Driver {
@@ -91,6 +90,6 @@ internal object SqlDelight {
9190
)
9291

9392
val plugin = GradlePlugin(
94-
id = "com.squareup.sqldelight",
93+
id = "app.cash.sqldelight",
9594
)
9695
}

antibytes-dependency-catalog-builder/src/test/kotlin/tech/antibytes/gradle/dependency/catalog/DependencyCatalogSpec.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -577,14 +577,14 @@ class DependencyCatalogSpec {
577577
verify(exactly = 1) {
578578
catalog.library(
579579
"common-square-sqldelight-driver-native",
580-
"com.squareup.sqldelight",
580+
"app.cash.sqldelight",
581581
"native-driver",
582582
)
583583
}
584584
verify(exactly = 1) {
585585
catalog.library(
586586
"iosarm64-square-sqldelight-driver-native",
587-
"com.squareup.sqldelight",
587+
"app.cash.sqldelight",
588588
"native-driver-iosarm64",
589589
)
590590
}
@@ -609,14 +609,14 @@ class DependencyCatalogSpec {
609609
verify(exactly = 1) {
610610
catalog.library(
611611
"common-square-sqldelight-coroutines",
612-
"com.squareup.sqldelight",
612+
"app.cash.sqldelight",
613613
"coroutines-extensions",
614614
)
615615
}
616616
verify(exactly = 1) {
617617
catalog.library(
618618
"js-square-sqldelight-coroutines",
619-
"com.squareup.sqldelight",
619+
"app.cash.sqldelight",
620620
"coroutines-extensions-js",
621621
)
622622
}
@@ -642,7 +642,7 @@ class DependencyCatalogSpec {
642642
verify(exactly = 1) {
643643
catalog.plugin(
644644
"square-sqldelight",
645-
"com.squareup.sqldelight",
645+
"app.cash.sqldelight",
646646
)
647647
}
648648

shared-dependencies/shared.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ ktor-client-core = {group = "io.ktor", name = "ktor-client-core", version.ref =
223223

224224

225225
square-okio-core = {group = "com.squareup.okio", name = "okio", version.ref = "square-okio" }
226-
square-sqldelight = {group = "com.squareup.sqldelight", name = "gradle-plugin", version.ref = "square-sqldelight" }
226+
square-sqldelight = {group = "app.cash.sqldelight", name = "gradle-plugin", version.ref = "square-sqldelight" }
227227
square-okhttp = {group = "com.squareup.okhttp3", name = "okhttp", version.ref = "square-okhttp" }
228228

229229

0 commit comments

Comments
 (0)