123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- plugins {
- id 'com.android.library'
- id 'org.jetbrains.kotlin.android'
- }
- def version = '1.0.1'
- def releaseTime() {
- return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC"))
- }
- android {
- compileSdk 33
- defaultConfig {
- minSdk 21
- targetSdk 33
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles "consumer-rules.pro"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- libraryVariants.all { variant->
- variant.outputs.all { output->
- if (outputFile != null && outputFileName.endsWith('.aar')) {
- outputFileName = "ad_app_lovin_max_${version}_${releaseTime()}_release.aar"
- }
- }
- }
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- }
- dependencies {
- implementation project(':lib_ad_core')
- implementation 'androidx.core:core-ktx:1.7.0'
- implementation 'androidx.appcompat:appcompat:1.5.1'
- implementation 'com.google.android.material:material:1.6.1'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.3'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
- api 'com.applovin:applovin-sdk:11.6.1'
- api "com.google.android.gms:play-services-ads-identifier:18.0.1"
- }
|