Files
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

99 lines
2.6 KiB
Groovy

apply plugin: 'kotlin-parcelize'
apply from: '../tests.gradle'
apply from: "../scripts/secrets.gradle"
android {
defaultConfig {
buildConfigField "String", "DAPP_METADATAS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/dapps/dapps_dev.json\""
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField "String", "DAPP_METADATAS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/dapps/dapps_full.json\""
}
}
namespace 'io.novafoundation.nova.feature_dapp_impl'
packagingOptions {
resources.excludes.add("META-INF/NOTICE.md")
}
buildFeatures {
viewBinding true
}
}
task actualizeJsScripts(type: Exec) {
workingDir "$rootDir/nova-wallet-dapp-js"
commandLine "yarn", "build"
doLast {
copy {
from "$rootDir/nova-wallet-dapp-js/dist/nova_min.js"
into "$rootDir/feature-dapp-impl/src/main/res/raw"
rename('nova_min.js', 'polkadotjs_min.js')
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':core-db')
implementation project(':common')
implementation project(':feature-onboarding-api')
implementation project(':feature-account-api')
implementation project(':feature-wallet-api')
implementation project(':feature-wallet-connect-api')
implementation project(':feature-dapp-api')
implementation project(':feature-currency-api')
implementation project(':feature-external-sign-api')
implementation project(':feature-banners-api')
implementation project(':runtime')
implementation project(':feature-deep-linking')
implementation kotlinDep
implementation androidDep
implementation materialDep
implementation constraintDep
implementation shimmerDep
implementation coroutinesDep
implementation gsonDep
implementation daggerDep
ksp daggerCompiler
implementation lifecycleDep
ksp lifecycleCompiler
implementation viewModelKtxDep
implementation liveDataKtxDep
implementation lifeCycleKtxDep
implementation navigationFragmentDep
implementation retrofitDep
implementation web3jDep
implementation coroutinesFutureDep
implementation walletConnectCoreDep, withoutTransitiveAndroidX
implementation walletConnectWalletDep, withoutTransitiveAndroidX
testImplementation jUnitDep
testImplementation mockitoDep
}