-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
33 lines (30 loc) · 1.18 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
rootProject.name = "sciorder"
pluginManagement {
repositories {
gradlePluginPortal()
google()
maven("https://dl.bintray.com/kotlin/kotlin-eap")
}
resolutionStrategy {
eachPlugin {
when(requested.id.id)
{
"com.android.application", "com.android.library" -> useModule("com.android.tools.build:gradle:${requested.version}")
"kotlin2js", "kotlin-dce-js" -> useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:${requested.version}")
"org.jetbrains.kotlin.frontend" -> useModule("org.jetbrains.kotlin:kotlin-frontend-plugin:${requested.version}")
"kotlinx-serialization" -> useModule("org.jetbrains.kotlin:kotlin-serialization:${requested.version}")
"androidx.navigation.safeargs.kotlin" -> useModule("androidx.navigation:navigation-safe-args-gradle-plugin:${requested.version}")
}
}
}
}
include(":common")
include(":server")
include(":client")
include(":client-js")
val includeAndroid by settings.booleanProperties
if(includeAndroid) {
include(":client-android")
include(":client-android-admin")
include(":client-android-user")
}