forked from icerockdev/moko-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
34 lines (28 loc) · 1.05 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
/*
* Copyright 2019 IceRock MAG Inc. Use of this source code is governed by the Apache 2.0 license.
*/
pluginManagement {
repositories {
jcenter()
google()
maven { url = uri("https://dl.bintray.com/kotlin/kotlin") }
maven { url = uri("https://kotlin.bintray.com/kotlinx") }
maven { url = uri("https://jetbrains.bintray.com/kotlin-native-dependencies") }
maven { url = uri("https://maven.fabric.io/public") }
maven { url = uri("https://dl.bintray.com/icerockdev/plugins") }
maven { url = uri("https://plugins.gradle.org/m2/") }
}
resolutionStrategy.eachPlugin {
// part of plugins defined in Deps.Plugins, part in buildSrc/build.gradle.kts
val module = Deps.plugins[requested.id.id] ?: return@eachPlugin
useModule(module)
}
}
enableFeaturePreview("GRADLE_METADATA")
include(":android-app")
include(":mpp-library")
listOf(
Modules.MultiPlatform.domain,
Modules.MultiPlatform.Feature.config,
Modules.MultiPlatform.Feature.list
).forEach { include(it.name) }