Skip to content

Commit

Permalink
Add proguard rules that minifies wear apk
Browse files Browse the repository at this point in the history
  • Loading branch information
daverix committed Sep 19, 2015
1 parent 42bc027 commit ed3582d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions common/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 20
compileSdkVersion 22
buildToolsVersion '22.0.1'

defaultConfig {
minSdkVersion 8
targetSdkVersion 20
targetSdkVersion 22
versionCode 1
versionName '1.0'
}
Expand Down
6 changes: 2 additions & 4 deletions hrdevice/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ group = "org.runnerup.hr"
version = "1.0"

android {
compileSdkVersion 20
compileSdkVersion 22
buildToolsVersion '22.0.1'

sourceSets {
Expand All @@ -21,16 +21,14 @@ android {
}
defaultConfig {
minSdkVersion 8
targetSdkVersion 18
targetSdkVersion 22
versionCode 1
versionName = version
}

}

dependencies {
compile 'com.android.support:support-v4:19.1.+'

provided files('libs/samsung_ble_sdk_200.jar')
compile files('../ANT-Android-SDKs/ANT+_Android_SDK/API/antpluginlib_3-1-0.jar')
}
Expand Down
8 changes: 5 additions & 3 deletions wear/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apply plugin: 'com.android.application'


android {
compileSdkVersion 20
compileSdkVersion 22
buildToolsVersion '22.0.1'

defaultConfig {
minSdkVersion 20
targetSdkVersion 20
targetSdkVersion 22
versionName "1.50"
versionCode 14000050
}
Expand All @@ -19,7 +19,9 @@ android {

buildTypes {
release {
minifyEnabled false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.txt'
signingConfig signingConfigs.release
}
}
Expand Down
Empty file added wear/proguard.txt
Empty file.

0 comments on commit ed3582d

Please sign in to comment.