build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 30
  6. defaultConfig {
  7. minSdkVersion 21
  8. targetSdkVersion 30
  9. versionCode 100
  10. versionName "1.0.0"
  11. consumerProguardFiles "consumer-rules.pro"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled true
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. compileOptions {
  20. sourceCompatibility JavaVersion.VERSION_1_8
  21. targetCompatibility JavaVersion.VERSION_1_8
  22. }
  23. libraryVariants.all { variant ->
  24. variant.outputs.all {
  25. def fileName = "AtmobTask" +
  26. "-v${defaultConfig.versionName}" +
  27. "-${variant.buildType.name}" +
  28. ".aar"
  29. outputFileName = fileName
  30. }
  31. }
  32. }
  33. dependencies {
  34. implementation 'androidx.recyclerview:recyclerview:1.2.1'
  35. compileOnly project(':atmob-ad')
  36. compileOnly project(':group-ad')
  37. }