-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (36 loc) · 954 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
mavenLocal()
google()
jcenter()
mavenCentral()
maven { url "https://dl.bintray.com/chattylabs/maven" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.chattylabs:versioning:0.19.5'
classpath 'com.novoda:bintray-release:0.9.1'
}
}
allprojects {
repositories {
mavenLocal()
google()
jcenter()
mavenCentral()
maven { url "https://dl.bintray.com/chattylabs/maven" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
exec {
def sh = "./android-buildsystem/submodule.sh"
if (file(sh).exists()) {
executable "sh"
args sh
} else
commandLine "git", "submodule", "update", "--init", "--remote", "--rebase"
}