forked from itkach/aard2-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
98 lines (85 loc) · 2.13 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
buildscript {
repositories {
mavenCentral()
jcenter()
google()
maven {
url "https://jitpack.io"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
}
}
apply plugin: 'com.android.application'
apply plugin: 'eclipse'
apply plugin: 'idea'
repositories {
mavenCentral()
jcenter()
google()
maven {
url "https://jitpack.io"
}
flatDir {
dirs 'libs'
}
}
android {
compileSdkVersion 30
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
project.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 30
}
}
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')
api project(':slobber').files('libs/simple-5.1.7.1.itkach.jar')
}