forked from reduxkotlin/redux-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
34 lines (32 loc) · 1.01 KB
/
build.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
plugins {
id("convention.common")
}
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
// TODO(KT-52172) Remove once KMP properly supports composite builds
allprojects {
if (findProperty("project.localRepo") == "true") {
repositories {
val local = maven("file://${rootProject.projectDir.parentFile}/build/localMaven") {
name = "Local"
}
remove(local)
add(0, local)
}
}
configurations.all {
resolutionStrategy {
dependencySubstitution {
val reduxVersion = "+"
substitute(module("org.reduxkotlin:redux-kotlin"))
.using(module("org.reduxkotlin:redux-kotlin:$reduxVersion"))
substitute(module("org.reduxkotlin:redux-kotlin-threadsafe"))
.using(module("org.reduxkotlin:redux-kotlin-threadsafe:$reduxVersion"))
}
}
}
}