forked from segmentio/analytics-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (50 loc) · 1.23 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
buildscript {
repositories {
mavenCentral()
google()
jcenter()
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.vanniktech:gradle-android-junit-jacoco-plugin:0.5.0'
classpath 'com.diffplug.spotless:spotless-plugin-gradle:3.13.0'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.2'
}
}
allprojects {
buildscript {
repositories {
mavenCentral()
google()
jcenter()
}
}
apply plugin: 'idea'
repositories {
mavenCentral()
google()
jcenter()
}
group = GROUP
version = VERSION_NAME
}
def isCI = "true".equals(System.getenv("CIRCLECI"))
def preDexEnabled = "true".equals(System.getProperty("preDex", "true"))
ext {
versionCode = Integer.parseInt(VERSION_CODE)
versionName = VERSION_NAME
minSdkVersion = 14
minSdkVersionWear = 21
targetSdkVersion = 27
compileSdkVersion = 27
buildToolsVersion = '27.0.3'
sourceCompatibilityVersion = JavaVersion.VERSION_1_7
targetCompatibilityVersion = JavaVersion.VERSION_1_7
preDexLibraries = preDexEnabled && !isCI
}
ext.deps = [
supportAnnotations: 'com.android.support:support-annotations:27.1.1'
]