34 lines
703 B
Groovy
34 lines
703 B
Groovy
buildscript {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.1.2'
|
|
}
|
|
|
|
ext {
|
|
versions = [supportLib: "27.1.1",
|
|
gpsLib : "11.0.2",
|
|
sdk : [compile: 27, buildTools: "27.0.3", min: 19, target: 27]]
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
|
|
flatDir {
|
|
dirs 'misc/libs'
|
|
}
|
|
|
|
if (!project.hasProperty("ossrhUsername")) {
|
|
ext.ossrhUsername = "no-username"
|
|
}
|
|
|
|
if (!project.hasProperty("ossrhPassword")) {
|
|
ext.ossrhPassword = "no-password"
|
|
}
|
|
}
|
|
} |