28 lines
502 B
Groovy
28 lines
502 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenLocal()
|
|
jcenter()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
jcenter()
|
|
mavenCentral()
|
|
maven { url "https://kotlin.bintray.com/kotlinx" }
|
|
}
|
|
|
|
allprojects {
|
|
ext {
|
|
projectByName = { name ->
|
|
for (subproject in rootProject.subprojects) {
|
|
if (subproject.name == name) {
|
|
return subproject
|
|
}
|
|
}
|
|
return null
|
|
}
|
|
}
|
|
}
|