Files
pezkuwi-wallet-android/bindings/hydra-dx-math/build.gradle
T
pezkuwichain a42190f25b fix: revert gradle namespaces, add release Firebase config
Reverted gradle namespace changes (io.pezkuwichain.wallet -> io.novafoundation.nova)
because they break R class references in Kotlin code.

Internal namespaces are NOT user-visible, so this is acceptable for minimum rebrand.
User-visible elements are all properly branded as Pezkuwi.

Added google-services.json for release variant.
2026-01-23 02:36:47 +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")
}