-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbuild.gradle.kts
59 lines (52 loc) · 1.65 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
plugins {
alias(libs.plugins.androidApplication)
alias(libs.plugins.kotlinAndroid)
alias(libs.plugins.compose.compiler)
id("org.jetbrains.compose")
alias(libs.plugins.kotlin.atomicfu)
}
android {
namespace = "com.powersync.demo.backgroundsync"
compileSdk = 35
defaultConfig {
applicationId = "com.powersync.demo.backgroundsync"
minSdk = 28
targetSdk = 35
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}
buildFeatures {
compose = true
}
}
dependencies {
// When copying this example, replace "latest.release" with the current version available
// at: https://central.sonatype.com/artifact/com.powersync/connector-supabase
implementation("com.powersync:connector-supabase:latest.release")
implementation(projects.shared)
implementation(compose.material)
implementation(libs.androidx.core)
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.lifecycle.service)
implementation(libs.compose.lifecycle)
implementation(libs.compose.ui.tooling.preview)
implementation(libs.koin.android)
implementation(libs.koin.compose.viewmodel)
}