mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-22 21:57:56 +00:00
a42190f25b
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.
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")
|
|
}
|