-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
80 lines (72 loc) · 2.3 KB
/
build.gradle
File metadata and controls
80 lines (72 loc) · 2.3 KB
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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
}
}
allprojects {
repositories {
jcenter()
maven { url 'http://192.168.8.36:8081/nexus/content/repositories/lava/' }
}
configurations {
all*.exclude group: 'com.android.support', module: 'support-v4'
all*.exclude group: 'com.android.support', module: 'support-annotations'
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion java.lang.Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
defaultConfig {
applicationId "com.su.starcleanmaster"
}
signingConfigs {
release {
storeFile file("${ANDROID_SIGN_DIR_PATH}/platform.jks")
storePassword project.ANDROID_SIGN_PLATFORM_PASSWD
keyAlias project.ANDROID_SIGN_PLATFORM_ALIAS
keyPassword project.ANDROID_SIGN_PLATFORM_PASSWD
}
debug {
storeFile file("${ANDROID_SIGN_DIR_PATH}/platform.jks")
storePassword project.ANDROID_SIGN_PLATFORM_PASSWD
keyAlias project.ANDROID_SIGN_PLATFORM_ALIAS
keyPassword project.ANDROID_SIGN_PLATFORM_PASSWD
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
signingConfig signingConfigs.release
}
}
sourceSets {
main {
java.srcDirs = ['src']
res.srcDirs = ['res']
manifest.srcFile 'AndroidManifest.xml'
}
}
aaptOptions {
additionalParameters '--version-name',
"${APK_VERSION_NAME}",
'--version-code',
"${APK_VERSION_CODE}"
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}
dependencies {
compile 'com.android.support:support-v4:23.2.1'
compile 'io.reactivex:rxjava:1.2.1'
compile 'io.reactivex:rxandroid:1.2.1'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
}