-
Notifications
You must be signed in to change notification settings - Fork 194
/
build.gradle
62 lines (58 loc) · 2.07 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlinVersion = '1.4.10'
}
repositories {
jcenter()
google()
maven { url 'https://maven.fabric.io/public' }
// waiting for https://github.com/arturdm/jacoco-android-gradle-plugin/pull/75
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'com.google.gms:google-services:4.3.4'
classpath 'io.fabric.tools:gradle:1.+'
classpath('fr.avianey.androidsvgdrawable:gradle-plugin:3.0.2') {
// should be excluded to avoid conflict
exclude group: 'xerces'
}
classpath('com.hiya:jacoco-android:0.2') {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
/* waiting for https://github.com/arturdm/jacoco-android-gradle-plugin/pull/75
classpath('com.dicedmelon.gradle:jacoco-android:0.1.4') {
exclude group: 'org.codehaus.groovy', module: 'groovy-all'
}
*/
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
maven { url 'https://maven.fabric.io/public' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
evaluationDependsOn ":client-common-java"
ext {
applicationId = 'org.kontalk'
versionCode = 501
versionName = '4.4.0-next'
minSdkVersion = 16
targetSdkVersion = 29
compileSdkVersion = 29
smackVersion = project(':client-common-java').smackVersion
bouncyCastleVersion = '1.65'
anyMapsVersion = '962c4b5cf8'
travisBuild = System.getenv("TRAVIS") == "true"
// allows for -Dpre-dex=false to be set
preDexEnabled = "true" == System.getProperty("pre-dex", "true")
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}