-
Notifications
You must be signed in to change notification settings - Fork 98
/
build.gradle
78 lines (67 loc) · 1.76 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
plugins {
id 'com.android.application' version '7.4.2'
}
repositories {
mavenCentral()
google()
maven {
url "https://jitpack.io"
}
}
android {
compileSdkVersion 31
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
project("slobj").file("exclude.txt").eachLine {
line ->
println line
if (line && line.trim() && !line.startsWith("#")) {
exclude line.trim()
}
}
}
lintOptions {
abortOnError false
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
}
if (System.getenv("KEYSTORE") != null) {
signingConfigs {
release {
storeFile file(System.getenv("KEYSTORE"))
storePassword System.getenv("STORE_PASSWORD")
keyPassword System.getenv("KEY_PASSWORD")
if (keyPassword == null) {
keyPassword = storePassword
}
keyAlias "aard2-android"
}
}
}
buildTypes {
if (System.getenv("KEYSTORE") != null) {
release {
signingConfig signingConfigs.release
}
}
}
defaultConfig {
minSdkVersion 19
targetSdkVersion 34
}
}
dependencies {
api 'com.fasterxml.jackson.core:jackson-databind:2.4+'
api 'com.fasterxml.jackson.core:jackson-core:2.4+'
api 'com.fasterxml.jackson.core:jackson-annotations:2.4+'
api 'com.github.kazy1991:FontDrawable:0.9.5'
api project(':slobj')
api project(':slobber')
}