2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00

Fix SFTP not working due to proguard removing classes

This commit is contained in:
Albert Vaca
2018-10-31 15:23:36 +01:00
parent 75d4f0efa6
commit 9d2d0697ff
2 changed files with 2 additions and 1 deletions

View File

@@ -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'

1
proguard-rules.pro vendored
View File

@@ -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.** {*;}