forked from jecelyin/buildprop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·62 lines (53 loc) · 1.8 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
apply plugin: 'com.android.application'
Properties properties = new Properties()
properties.load(file('../../keystore/buildprop.properties').newDataInputStream())
def KEYSTORE_ALIAS = properties.getProperty('KEYSTORE_ALIAS')
def KEYSTORE_PASSWORD = properties.getProperty('KEYSTORE_PASSWORD')
android {
compileSdkVersion 23
buildToolsVersion '23.0.3'
defaultConfig {
applicationId "com.jecelyin.buildprop"
minSdkVersion 15
targetSdkVersion 23
versionCode 2
versionName "1.1"
}
signingConfigs {
debug {
keyAlias KEYSTORE_ALIAS
keyPassword KEYSTORE_PASSWORD
storeFile file('../../keystore/buildprop.keystore.jks')
storePassword KEYSTORE_PASSWORD
}
release {
keyAlias KEYSTORE_ALIAS
keyPassword KEYSTORE_PASSWORD
storeFile file('../../keystore/buildprop.keystore.jks')
storePassword KEYSTORE_PASSWORD
}
}
buildTypes {
release {
debuggable false
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
debug {
debuggable true
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
}
}
sourceSets { main { java.srcDirs = ['src/main/java'] } }
}
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:support-v4:23.4.0'
provided 'de.robv.android.xposed:api:82'
provided 'de.robv.android.xposed:api:82:sources'
}