-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathsettings.gradle.kts
66 lines (57 loc) · 1.86 KB
/
settings.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
60
61
62
63
64
65
66
pluginManagement {
repositories {
google()
gradlePluginPortal()
mavenCentral()
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}
// Main Modules
include("Auth")
include("Postgrest")
include("Storage")
include("Realtime")
include("Functions")
include("Supabase")
include("bom")
// Test module
include("test-common")
// Serializers
include(":serializers:Moshi")
project(":serializers:Moshi").name = "serializer-moshi"
include(":serializers:Jackson")
project(":serializers:Jackson").name = "serializer-jackson"
// Misc plugins
include(":plugins:ApolloGraphQL")
include(":plugins:ComposeAuth")
include(":plugins:ComposeAuthUI")
include(":plugins:Coil3Integration")
include(":plugins:CoilIntegration")
include(":plugins:ImageLoaderIntegration")
// Samples
if (System.getProperty("LibrariesOnly") != "true") {
includeSample("chat-demo-mpp", "common", "web", "ios", "desktop", "android")
includeSample("file-upload", "common", "desktop", "android")
includeSample("multi-factor-auth", "common", "desktop", "android", "web")
}
// Renames
project(":Auth").name = "auth-kt"
project(":Postgrest").name = "postgrest-kt"
project(":Storage").name = "storage-kt"
project(":Realtime").name = "realtime-kt"
project(":Functions").name = "functions-kt"
project(":Supabase").name = "supabase-kt"
project(":plugins:ApolloGraphQL").name = "apollo-graphql"
project(":plugins:ComposeAuth").name = "compose-auth"
project(":plugins:ComposeAuthUI").name = "compose-auth-ui"
project(":plugins:Coil3Integration").name = "coil3-integration"
project(":plugins:CoilIntegration").name = "coil-integration"
project(":plugins:ImageLoaderIntegration").name = "imageloader-integration"
rootProject.name = "supabase-kt"
fun includeSample(name: String, vararg targets: String) {
targets.forEach {
include(":sample:$name:$it")
}
}