Skip to content

Commit 7401a44

Browse files
committed
Use dependency override for :PowerSyncKotlin
1 parent 306a879 commit 7401a44

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

PowerSyncKotlin/build.gradle.kts

+20
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,26 @@ kotlin {
4343
}
4444
}
4545

46+
repositories {
47+
maven {
48+
name = "PowerSyncSQLiterFork"
49+
url = uri("https://powersync-ja.github.io/SQLiter")
50+
content {
51+
includeModuleByRegex("co.touchlab", "sqliter-driver.*")
52+
}
53+
}
54+
}
55+
56+
configurations.all {
57+
resolutionStrategy {
58+
// This version has not been released yet (https://github.com/touchlab/SQLiter/pull/124), so we're pointing this
59+
// towards our fork with the repositories block above.
60+
// The API is identical, but we have to make sure this particular project builds the xcframework with the
61+
// patched SQLiter version to avoid linker errors on macOS.
62+
force("co.touchlab:sqliter-driver:1.3.2-powersync")
63+
}
64+
}
65+
4666
kmmbridge {
4767
artifactManager.set(SonatypePortalPublishArtifactManager(project, repositoryName = null))
4868
artifactManager.finalizeValue()

0 commit comments

Comments
 (0)