-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsettings.gradle.kts
41 lines (36 loc) · 1.12 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
35
36
37
38
39
40
41
import java.net.URI
rootProject.name = "Tracktor"
include(":app")
include(":data")
include(":core")
include(":domain")
if (System.getenv("CI") != "true") {
includeBuild("../workflow-kotlin-compose") {
dependencySubstitution {
substitute(module("com.squareup.workflow:workflow-ui-core-compose")).with(project(":core-compose"))
substitute(module("om.squareup.workflow:workflow-ui-compose-tooling")).with(project(":compose-tooling"))
}
}
} else {
sourceControl {
gitRepository(URI("https://github.com/Popalay/workflow-kotlin-compose.git")) {
producesModule("com.squareup.workflow:core-compose")
producesModule("com.squareup.workflow:compose-tooling")
}
}
}
pluginManagement {
repositories {
maven(url = "https://dl.bintray.com/kotlin/kotlin-eap/")
gradlePluginPortal()
jcenter()
google()
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "com.android.application") {
useModule("com.android.tools.build:gradle:${requested.version}")
}
}
}
}