-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
40 lines (34 loc) · 1014 Bytes
/
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
rootProject.name = "spms"
include(":library")
includeBuild("library/build-logic")
include(":app")
pluginManagement {
resolutionStrategy {
eachPlugin {
val kjna_version: String = extra["kjna.version"] as String
if (requested.id.toString() == "dev.toastbits.kjna") {
useModule("dev.toastbits.kjna:plugin:$kjna_version")
}
}
}
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
maven("https://jitpack.io")
}
plugins {
val kotlin_version: String = extra["kotlin.version"] as String
kotlin("multiplatform").version(kotlin_version)
kotlin("plugin.serialization").version(kotlin_version)
val kjna_version: String = extra["kjna.version"] as String
id("dev.toastbits.kjna").version(kjna_version)
}
}
dependencyResolutionManagement {
repositories {
mavenLocal()
maven("https://jitpack.io")
mavenCentral()
}
}