mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-22 06:47:57 +00:00
a294aa1a6b
Security hardened release: - Code obfuscation enabled (minifyEnabled=true, shrinkResources=true) - Sensitive files excluded (google-services.json, keystores) - Branch.io key moved to BuildConfig placeholder - Updated dependencies: OkHttp 4.12.0, Gson 2.10.1, BouncyCastle 1.77 - Comprehensive ProGuard rules for crypto wallet - Navigation 2.7.7, Lifecycle 2.7.0, ConstraintLayout 2.1.4
40 lines
948 B
Groovy
40 lines
948 B
Groovy
apply plugin: 'org.mozilla.rust-android-gradle.rust-android'
|
|
|
|
android {
|
|
|
|
ndkVersion "26.1.10909125"
|
|
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
namespace 'io.novafoundation.nova.hydra_dx_math'
|
|
}
|
|
|
|
dependencies {
|
|
implementation kotlinDep
|
|
implementation project(':common')
|
|
|
|
testImplementation jUnitDep
|
|
|
|
androidTestImplementation androidTestRunnerDep
|
|
androidTestImplementation androidTestRulesDep
|
|
androidTestImplementation androidJunitDep
|
|
}
|
|
|
|
cargo {
|
|
module = "rust/"
|
|
libname = "hydra_dx_math_java"
|
|
targets = ["arm", "arm64", "x86", "x86_64"]
|
|
profile = "release"
|
|
pythonCommand = "python3"
|
|
}
|
|
|
|
tasks.matching { it.name.matches(/merge.*JniLibFolders/) }.configureEach {
|
|
it.inputs.dir(new File(buildDir, "rustJniLibs/android"))
|
|
it.dependsOn("cargoBuild")
|
|
}
|