-
Notifications
You must be signed in to change notification settings - Fork 178
/
build.gradle
47 lines (39 loc) · 1.11 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
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion '22.0.0'
defaultConfig {
applicationId 'org.jraf.android.backport.switchwidget.sample'
versionCode 2
versionName '2.0.0'
minSdkVersion 7
targetSdkVersion 22
}
signingConfigs {
release {
storeFile file(signingProperties['key-store'])
storePassword signingProperties['key-store-password']
keyAlias signingProperties['key-alias']
keyPassword signingProperties['key-alias-password']
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles 'proguard-rules.txt', getDefaultProguardFile('proguard-android-optimize.txt')
signingConfig signingConfigs.release
}
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
res.srcDirs = ['res']
}
}
}
dependencies {
compile project(':library')
}