-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
build.gradle.kts
39 lines (35 loc) · 936 Bytes
/
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
plugins {
id(libs.plugins.kotlin.multiplatform.get().pluginId)
id(libs.plugins.android.library.get().pluginId)
}
description = "Extends supabase-kt with a Apollo GraphQL Client"
repositories {
mavenCentral()
}
@OptIn(org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi::class)
kotlin {
defaultConfig()
jvmTargets()
jsTarget()
iosTargets()
macosTargets()
watchosArm64()
watchosSimulatorArm64()
wasmJsTarget()
tvosTargets()
sourceSets {
val commonMain by getting {
dependencies {
addModules(SupabaseModule.AUTH, SupabaseModule.SUPABASE)
api(libs.apollo.kotlin)
}
}
val commonTest by getting {
dependencies {
implementation(libs.bundles.testing)
implementation(project(":test-common"))
}
}
}
}
configureLibraryAndroidTarget()