44 lines
870 B
Groovy
44 lines
870 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.2.0'
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
apply from: 'version.gradle'
|
|
|
|
allprojects {
|
|
ext {
|
|
rootConfigDir = new File(rootDir, 'config')
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
maven {
|
|
url 'https://igniterealtime.org/repo/'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'checkstyle'
|
|
|
|
checkstyle {
|
|
configFile = new File(rootConfigDir, 'checkstyle.xml')
|
|
toolVersion = '8.10'
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|