2019-09-17 18:35:25 +00:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
|
|
|
maven { url "https://kotlin.bintray.com/kotlinx" }
|
|
|
|
}
|
2020-08-10 11:27:16 +00:00
|
|
|
|
2020-08-10 13:09:46 +00:00
|
|
|
allprojects {
|
|
|
|
ext {
|
|
|
|
projectByName = { name ->
|
|
|
|
for (subproject in rootProject.subprojects) {
|
|
|
|
if (subproject.name == name) {
|
|
|
|
return subproject
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return null
|
|
|
|
}
|
|
|
|
}
|
2020-08-10 11:27:16 +00:00
|
|
|
}
|