-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
54 lines (43 loc) · 1022 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:2.3.3"
}
}
repositories {
mavenLocal()
jcenter()
}
task wrapper(type: Wrapper) {
gradleVersion = '4.0'
}
group = GROUP
version = VERSION_NAME
apply plugin: 'com.android.library'
apply from: 'build-scripts/gradle-mvn-push.gradle'
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
android {
compileSdkVersion 25
buildToolsVersion "26.0.0"
defaultConfig {
minSdkVersion 8
targetSdkVersion 25
}
lintOptions {
abortOnError false
}
testOptions {
unitTests.returnDefaultValues = true
}
}
dependencies {
compile('com.android.support.test:runner:0.5')
}
afterEvaluate { project ->
// Weirdly archives are signed even if signing.required {false}, so also skipping task explicitly.
signArchives.onlyIf {!VERSION_NAME.endsWith("SNAPSHOT")}
}