-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
78 lines (71 loc) · 1.84 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
/**
* BGrates Build Script
*/
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.1'
}
}
apply plugin: 'com.android.application'
android {
repositories {
google()
mavenCentral()
}
dependencies {
implementation 'com.android.support:appcompat-v7:22.2.0',
'com.android.support:support-v13:22.2.0',
'com.google.guava:guava:18.0',
'org.jsoup:jsoup:1.8.3'
testImplementation 'junit:junit:4.+'
}
compileSdkVersion 34
defaultConfig {
applicationId 'net.vexelon.bgrates'
minSdkVersion 15
targetSdkVersion 34
//versionCode 1
//versionName "1.0"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}
lintOptions {
abortOnError false
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
res.srcDirs = ['res']
assets.srcDirs = ['assets']
java.srcDirs = ['src/main/java', 'src/main/test']
resources.srcDirs = ['src/main/java']
aidl.srcDirs = ['src/main/java']
renderscript.srcDirs = ['src/main/java']
}
//androidTest.setRoot('tests')
}
signingConfigs {
release {
storeFile file(KS)
storePassword KSPWD
keyAlias KALIAS
keyPassword KPWD
}
}
buildTypes {
debug {
dexOptions.preDexLibraries = false
}
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
signingConfig signingConfigs.release
}
}
}