-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.gradle
30 lines (26 loc) · 966 Bytes
/
settings.gradle
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
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.id == "kotlin-multiplatform") {
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:${requested.version}")
}
if (requested.id.id == "kotlinx-serialization") {
useModule("org.jetbrains.kotlin:kotlin-serialization:${requested.version}")
}
if (requested.id.id == "com.android.library") {
useModule("com.android.tools.build:gradle:${requested.version}")
}
if (requested.id.id == "com.android.application") {
useModule("com.android.tools.build:gradle:${requested.version}")
}
}
}
}
//enableFeaturePreview('GRADLE_METADATA')
include Modules.annotations,
Modules.coreKodein,
Modules.erased,
Modules.generic,
Modules.coreKoin
include Modules.sampleKodein,
Modules.sampleKoin