diff options
| author | Austin Kirk <askirk@umich.edu> | 2018-05-21 14:26:23 -0400 |
|---|---|---|
| committer | Austin Kirk <askirk@umich.edu> | 2018-05-21 14:26:23 -0400 |
| commit | a86db9d1109a50131364659665138928dd3b2d3c (patch) | |
| tree | 15e5ad79d3875b0c027b60522753ca250652ecbb | |
| parent | 5d86971dfd90af8a5e1b136004b0ef9d1405a7bc (diff) | |
| download | sdl_android-feature/dont_obfuscate.tar.gz | |
Pass Proguard Settings to Dev Appfeature/dont_obfuscate
Adds a line in build.gradle that passes proguard settings to developer’s app so that com.smartdevicelink package is not obfuscated.
| -rw-r--r-- | sdl_android/build.gradle | 2 | ||||
| -rw-r--r-- | sdl_android/proguard-rules.txt | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sdl_android/build.gradle b/sdl_android/build.gradle index 7904206a9..02c1a5e1b 100644 --- a/sdl_android/build.gradle +++ b/sdl_android/build.gradle @@ -9,11 +9,11 @@ android { versionName "4.5.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" resValue "string", "SDL_LIB_VERSION", '\"' + versionName + '\"' + consumerProguardFiles 'proguard-rules.txt' } buildTypes { release { minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { testCoverageEnabled = true diff --git a/sdl_android/proguard-rules.txt b/sdl_android/proguard-rules.txt new file mode 100644 index 000000000..793e69015 --- /dev/null +++ b/sdl_android/proguard-rules.txt @@ -0,0 +1 @@ +-keep class com.smartdevicelink** { *; }
\ No newline at end of file |
