build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. plugins {
  2. id 'com.android.library'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. namespace 'com.composition.android.ad.custom'
  7. compileSdk 33
  8. defaultConfig {
  9. minSdk 21
  10. targetSdk 33
  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. api project(':lib_ad_core')
  30. implementation 'androidx.core:core-ktx:1.10.1'
  31. implementation 'androidx.appcompat:appcompat:1.6.1'
  32. implementation 'com.google.android.material:material:1.9.0'
  33. testImplementation 'junit:junit:4.13.2'
  34. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  35. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  36. }