-
Notifications
You must be signed in to change notification settings - Fork 214
/
build.gradle
63 lines (48 loc) · 1.22 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
63
apply from: rootProject.file('gradle/versioning.gradle')
buildscript {
ext.kotlin_version = '1.4.0'
repositories {
mavenCentral()
google()
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.22.0"
}
}
allprojects {
buildscript {
repositories {
mavenCentral()
google()
}
}
apply plugin: 'idea'
repositories {
mavenCentral()
google()
}
group = GROUP
version = getVersionName()
}
def isCI = "true".equals(System.getenv("CIRCLECI"))
def preDexEnabled = "true".equals(System.getProperty("preDex", "true"))
ext {
versionCode = Integer.parseInt(VERSION_CODE)
versionName = getVersionName()
minSdkVersion = 14
minSdkVersionWear = 23
targetSdkVersion = 32
compileSdkVersion = 32
sourceCompatibilityVersion = JavaVersion.VERSION_1_8
targetCompatibilityVersion = JavaVersion.VERSION_1_8
preDexLibraries = preDexEnabled && !isCI
}
ext.deps = [
supportAnnotations: 'androidx.annotation:annotation:1.1.0'
]
apply from: rootProject.file('gradle/promote.gradle')