mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-22 02:07:58 +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
53 lines
2.4 KiB
Groovy
53 lines
2.4 KiB
Groovy
apply plugin: 'kotlin-parcelize'
|
|
|
|
android {
|
|
namespace 'io.novafoundation.nova.feature_banners_api'
|
|
|
|
defaultConfig {
|
|
buildConfigField "String", "BANNERS_BASE_DIRECTORY", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/banners/v2/content\""
|
|
buildConfigField "String", "ASSETS_BANNERS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/banners/v2/content/assets/banners_dev.json\""
|
|
buildConfigField "String", "DAPPS_BANNERS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/banners/v2/content/dapps/banners_dev.json\""
|
|
buildConfigField "String", "ASSETS_BANNERS_LOCALISATION_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/banners/v2/content/assets/localized_dev\""
|
|
buildConfigField "String", "DAPPS_BANNERS_LOCALISATION_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/banners/v2/content/dapps/localized_dev\""
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
|
|
}
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
buildConfigField "String", "ASSETS_BANNERS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/banners/v2/content/assets/banners.json\""
|
|
buildConfigField "String", "DAPPS_BANNERS_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/banners/v2/content/dapps/banners.json\""
|
|
buildConfigField "String", "ASSETS_BANNERS_LOCALISATION_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/banners/v2/content/assets/localized\""
|
|
buildConfigField "String", "DAPPS_BANNERS_LOCALISATION_URL", "\"https://raw.githubusercontent.com/pezkuwichain/pezkuwi-wallet-utils/master/banners/v2/content/dapps/localized\""
|
|
}
|
|
}
|
|
|
|
packagingOptions {
|
|
resources.excludes.add("META-INF/NOTICE.md")
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation coroutinesDep
|
|
implementation project(":common")
|
|
|
|
implementation cardViewDep
|
|
implementation recyclerViewDep
|
|
implementation materialDep
|
|
implementation androidDep
|
|
implementation androidDep
|
|
|
|
implementation shimmerDep
|
|
|
|
implementation daggerDep
|
|
ksp daggerCompiler
|
|
|
|
testImplementation project(':test-shared')
|
|
} |