Update Android Studio and Proguard configs

This commit is contained in:
topjohnwu 2017-10-04 15:23:08 +08:00
parent 64da9281a4
commit 53237f3ae0
5 changed files with 8 additions and 9 deletions

View File

@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion 26 compileSdkVersion 26
buildToolsVersion "26.0.1" buildToolsVersion "26.0.2"
defaultConfig { defaultConfig {
applicationId "com.topjohnwu.magisk" applicationId "com.topjohnwu.magisk"

View File

@ -16,10 +16,9 @@
# public *; # public *;
#} #}
# Keep all names, we are open source anyway :)
-keepnames class ** { *; }
# BouncyCastle # BouncyCastle
-keep class org.bouncycastle.** { *; } -keep class org.bouncycastle.jcajce.provider.** { *; }
-dontwarn javax.naming.** -dontwarn javax.naming.**
-dontwarn android.content.**
-dontwarn android.animation.**

View File

@ -7,7 +7,7 @@ buildscript {
maven { url "https://maven.google.com" } maven { url "https://maven.google.com" }
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-beta6' classpath 'com.android.tools.build:gradle:3.0.0-beta7'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files

View File

@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
android { android {
compileSdkVersion 26 compileSdkVersion 26
buildToolsVersion "26.0.1" buildToolsVersion "26.0.2"
defaultConfig { defaultConfig {
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 26 targetSdkVersion 26

View File

@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android { android {
compileSdkVersion 26 compileSdkVersion 26
buildToolsVersion "26.0.1" buildToolsVersion "26.0.2"
defaultConfig { defaultConfig {
applicationId "com.topjohnwu.unhide" applicationId "com.topjohnwu.unhide"
minSdkVersion 21 minSdkVersion 21