-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathsettings.gradle.kts
50 lines (41 loc) · 1.56 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
rootProject.name = "spmp"
include(":shared")
include(":androidApp")
include(":desktopApp")
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev")
maven("https://jitpack.io")
}
plugins {
val kotlin_version: String = extra["kotlin.version"] as String
kotlin("jvm").version(kotlin_version)
kotlin("multiplatform").version(kotlin_version)
kotlin("plugin.serialization").version(kotlin_version)
kotlin("plugin.compose").version(kotlin_version)
kotlin("android").version(kotlin_version)
val agp_version: String = extra["agp.version"] as String
id("com.android.application").version(agp_version)
id("com.android.library").version(agp_version)
val compose_version: String = extra["compose.version"] as String
id("org.jetbrains.compose").version(compose_version)
val sqldelight_version: String = extra["sqldelight.version"] as String
id("app.cash.sqldelight").version(sqldelight_version)
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
repositories {
mavenLocal()
maven("https://maven.toastbits.dev")
google()
mavenCentral()
maven("https://jitpack.io")
// https://github.com/KevinnZou/compose-webview-multiplatform
maven("https://jogamp.org/deployment/maven")
}
}