mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-11 01:36:33 +01:00
Removing scrypt native library that doesn't work on Android
This commit is contained in:
@@ -149,6 +149,7 @@ android {
|
|||||||
resources {
|
resources {
|
||||||
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
||||||
}
|
}
|
||||||
|
exclude '**/libscrypt.dylib'
|
||||||
}
|
}
|
||||||
|
|
||||||
lint {
|
lint {
|
||||||
|
|||||||
5
app/proguard-rules.pro
vendored
5
app/proguard-rules.pro
vendored
@@ -33,6 +33,11 @@
|
|||||||
# JNA For Libsodium
|
# JNA For Libsodium
|
||||||
-keep class com.goterl.lazysodium.** { *; }
|
-keep class com.goterl.lazysodium.** { *; }
|
||||||
|
|
||||||
|
# libscrypt
|
||||||
|
-keep class com.lambdaworks.codec.** { *; }
|
||||||
|
-keep class com.lambdaworks.crypto.** { *; }
|
||||||
|
-keep class com.lambdaworks.jni.** { *; }
|
||||||
|
|
||||||
# JNA also requires AWT, which Android does not have. So the classes are broken down to filter AWT out
|
# JNA also requires AWT, which Android does not have. So the classes are broken down to filter AWT out
|
||||||
-keep class com.sun.jna.ToNativeConverter { *; }
|
-keep class com.sun.jna.ToNativeConverter { *; }
|
||||||
-keep class com.sun.jna.NativeMapped { *; }
|
-keep class com.sun.jna.NativeMapped { *; }
|
||||||
|
|||||||
@@ -34,6 +34,10 @@ android {
|
|||||||
jvmTarget = '17'
|
jvmTarget = '17'
|
||||||
freeCompilerArgs += "-Xstring-concat=inline"
|
freeCompilerArgs += "-Xstring-concat=inline"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
packagingOptions {
|
||||||
|
exclude '**/libscrypt.dylib'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
5
quartz/proguard-rules.pro
vendored
5
quartz/proguard-rules.pro
vendored
@@ -33,6 +33,11 @@
|
|||||||
# JNA For Libsodium
|
# JNA For Libsodium
|
||||||
-keep class com.goterl.lazysodium.** { *; }
|
-keep class com.goterl.lazysodium.** { *; }
|
||||||
|
|
||||||
|
# libscrypt
|
||||||
|
-keep class com.lambdaworks.codec.** { *; }
|
||||||
|
-keep class com.lambdaworks.crypto.** { *; }
|
||||||
|
-keep class com.lambdaworks.jni.** { *; }
|
||||||
|
|
||||||
# JNA also requires AWT, which Android does not have. So the classes are broken down to filter AWT out
|
# JNA also requires AWT, which Android does not have. So the classes are broken down to filter AWT out
|
||||||
-keep class com.sun.jna.ToNativeConverter { *; }
|
-keep class com.sun.jna.ToNativeConverter { *; }
|
||||||
-keep class com.sun.jna.NativeMapped { *; }
|
-keep class com.sun.jna.NativeMapped { *; }
|
||||||
|
|||||||
Reference in New Issue
Block a user