Files
pezkuwi-wallet-android/bindings/hydra-dx-math/build.gradle
T
pezkuwichain a294aa1a6b Initial commit: Pezkuwi Wallet Android
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
2026-02-12 05:19:41 +03:00

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")
}