diff --git a/build.gradle b/build.gradle index 1d8a48d0..ed1efe37 100644 --- a/build.gradle +++ b/build.gradle @@ -54,7 +54,7 @@ android { minifyEnabled false useProguard false } - release { //keep on 'release', set to 'all' when testing to make sure proguard is not deleting important stuff + release { //keep on 'release' for faster builds, set to 'all' when testing to make sure proguard is not deleting important stuff minifyEnabled true useProguard true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' diff --git a/proguard-rules.pro b/proguard-rules.pro index 8d76cc04..02c0919a 100644 --- a/proguard-rules.pro +++ b/proguard-rules.pro @@ -35,6 +35,7 @@ # SSHd requires mina, and mina uses reflection so some classes would get deleted -keep class org.apache.mina.** {*;} +-keep class org.apache.sshd.** {*;} -keep class org.kde.kdeconnect.** {*;}