-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
49 lines (42 loc) · 1.03 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
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
}
}
allprojects {
repositories {
jcenter()
google()
}
version = VERSION_NAME
group = GROUP
}
wrapper {
gradleVersion '5.5'
distributionType 'all'
}
if (hasProperty('local')) {
if (!hasProperty('LOCAL_MAVEN_URL')) {
throw new RuntimeException('Cannot publish to local maven as no such property exists: LOCAL_MAVEN_URL')
}
ext.RELEASE_REPOSITORY_URL = LOCAL_MAVEN_URL
ext.SNAPSHOT_REPOSITORY_URL = LOCAL_MAVEN_URL
}
ext {
config = [
'target-sdk' : 28,
'min-sdk' : 8,
'build-tools' : '28.0.3',
'push-aar-gradle': 'https://raw.githubusercontent.com/noties/gradle-mvn-push/master/gradle-mvn-push-aar.gradle'
]
deps = [
'annotations': 'androidx.annotation:annotation:1.1.0'
]
deps['test'] = [
'junit': 'junit:junit:4.12'
]
}