mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 05:37:43 +00:00
Fix SFTP not working due to proguard removing classes
This commit is contained in:
parent
75d4f0efa6
commit
9d2d0697ff
@ -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
1
proguard-rules.pro
vendored
@ -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.** {*;}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user