Skip to content

Commit

Permalink
chore: gradle deps
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicGBauer committed Sep 20, 2024
1 parent fde83b2 commit 3db3aca
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
8 changes: 4 additions & 4 deletions demos/android-supabase-todolist/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ android {
}

dependencies {
implementation("androidx.core:core-splashscreen:1.0.0")
implementation(libs.androidx.core.splashscreen)
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(libs.androidx.activity.compose)
Expand All @@ -87,9 +87,9 @@ dependencies {
androidTestImplementation(libs.androidx.ui.test.junit4)
debugImplementation(libs.androidx.ui.tooling)
debugImplementation(libs.androidx.ui.test.manifest)
implementation(libs.powersync.core)
implementation(libs.powersync.supabase.connector)
implementation(libs.powersync.compose)
api("com.powersync:core")
api("com.powersync:connector-supabase")
api("com.powersync:compose")
implementation(libs.powersync.sqlite.core)
implementation(libs.uuid)
implementation(libs.kermit)
Expand Down
14 changes: 13 additions & 1 deletion demos/android-supabase-todolist/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,16 @@ dependencyResolutionManagement {

rootProject.name = "AndroidExample"
include(":app")


includeBuild("../..") {
dependencySubstitution {
substitute(module("com.powersync:core"))
.using(project(":core")).because("we want to auto-wire up sample dependency")
substitute(module("com.powersync:connector-supabase"))
.using(project(":connectors:supabase"))
.because("we want to auto-wire up sample dependency")
substitute(module("com.powersync:compose"))
.using(project(":compose"))
.because("we want to auto-wire up sample dependency")
}
}

0 comments on commit 3db3aca

Please sign in to comment.