-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
37 lines (33 loc) · 1.23 KB
/
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
31
32
33
34
35
36
37
pluginManagement {
resolutionStrategy {
repositories {
google()
gradlePluginPortal()
mavenCentral()
jcenter()
maven { url "https://kotlin.bintray.com/kotlinx" }
}
eachPlugin {
if (requested.id.id == "kotlin-multiplatform") {
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:${requested.version}")
}
if (requested.id.id == "org.jetbrains.kotlin.native.cocoapods") {
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}")
}
}
}
}
rootProject.name = 'DomeHTTP'
enableFeaturePreview('GRADLE_METADATA')
include ':lib'
project(':lib').name = 'dome-http'
include ':sample'