30 lines
617 B
Groovy
30 lines
617 B
Groovy
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||
|
buildscript {
|
||
|
if(project.hasProperty("nixMavenRepo")) {
|
||
|
repositories {
|
||
|
maven { url = nixMavenRepo }
|
||
|
}
|
||
|
} else {
|
||
|
repositories {
|
||
|
google()
|
||
|
jcenter()
|
||
|
}
|
||
|
}
|
||
|
dependencies {
|
||
|
classpath 'com.android.tools.build:gradle:3.5.2'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
allprojects {
|
||
|
if(project.hasProperty("nixMavenRepo")) {
|
||
|
repositories {
|
||
|
maven { url = nixMavenRepo }
|
||
|
}
|
||
|
} else {
|
||
|
repositories {
|
||
|
google()
|
||
|
jcenter()
|
||
|
}
|
||
|
}
|
||
|
}
|