27 lines
1.3 KiB
Groovy
27 lines
1.3 KiB
Groovy
plugins { id 'com.android.application' }
|
|
android {
|
|
namespace 'com.lumen.daily'
|
|
compileSdk 36
|
|
defaultConfig {
|
|
applicationId 'com.lumen.daily'
|
|
minSdk 24
|
|
targetSdk 36
|
|
versionCode 8
|
|
versionName '1.7'
|
|
manifestPlaceholders = [admobAppId: providers.gradleProperty('ADMOB_APP_ID').getOrElse('ca-app-pub-3940256099942544~3347511713')]
|
|
buildConfigField 'String', 'REWARDED_ID', '"' + providers.gradleProperty('ADMOB_REWARDED_ID').getOrElse('ca-app-pub-3940256099942544/5224354917') + '"'
|
|
buildConfigField 'String', 'INTERSTITIAL_ID', '"' + providers.gradleProperty('ADMOB_INTERSTITIAL_ID').getOrElse('ca-app-pub-3940256099942544/1033173712') + '"'
|
|
}
|
|
buildTypes { debug { if (providers.gradleProperty("qaBuild").getOrElse("false") == "true") applicationIdSuffix ".qa" } }
|
|
androidResources { noCompress += ['flac'] }
|
|
buildFeatures { buildConfig true }
|
|
compileOptions { sourceCompatibility JavaVersion.VERSION_17; targetCompatibility JavaVersion.VERSION_17; coreLibraryDesugaringEnabled true }
|
|
}
|
|
dependencies {
|
|
implementation 'androidx.activity:activity:1.12.4'
|
|
implementation 'com.google.android.gms:play-services-ads:25.5.0'
|
|
implementation 'com.google.android.ump:user-messaging-platform:4.0.0'
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
}
|