build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. plugins {
  2. id 'com.android.library'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. compileSdk = rootProject.ext.compileSdkVersion
  7. buildToolsVersion rootProject.ext.buildToolsVersion
  8. defaultConfig {
  9. minSdkVersion rootProject.ext.minSdkVersion
  10. targetSdkVersion rootProject.ext.targetSdkVersion
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. consumerProguardFiles "consumer-rules.pro"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. kotlinOptions {
  25. jvmTarget = '1.8'
  26. }
  27. }
  28. dependencies {
  29. implementation project(':lib_ad_core')
  30. api 'com.google.android.gms:play-services-ads:21.2.0'
  31. implementation 'androidx.core:core-ktx:1.8.0'
  32. implementation 'androidx.appcompat:appcompat:1.5.1'
  33. implementation 'com.google.android.material:material:1.6.1'
  34. testImplementation 'junit:junit:4.13.2'
  35. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  36. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  37. }