-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathbuild.gradle.kts
43 lines (39 loc) · 1.03 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
plugins {
id(libs.plugins.kotlin.multiplatform.get().pluginId)
id(libs.plugins.android.library.get().pluginId)
}
description = "Extends supabase-kt with a Storage Client"
repositories {
mavenCentral()
}
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi::class)
kotlin {
defaultConfig()
applyDefaultHierarchyTemplate {
common {
androidAndJvmGroup()
settingsGroup()
}
}
allTargets()
sourceSets {
val commonMain by getting {
dependencies {
addModules(SupabaseModule.AUTH)
}
}
val commonTest by getting {
dependencies {
implementation(project(":test-common"))
implementation(libs.bundles.testing)
implementation(libs.turbine)
}
}
val settingsMain by getting {
dependencies {
api(libs.bundles.multiplatform.settings)
}
}
}
}
configureLibraryAndroidTarget()