Files
pezkuwi-wallet-android/feature-banners-api/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

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