build.gradle 706 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdk 31
  6. defaultConfig {
  7. minSdk 21
  8. targetSdk 31
  9. consumerProguardFiles "consumer-rules.pro"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. compileOptions {
  18. sourceCompatibility JavaVersion.VERSION_1_7
  19. targetCompatibility JavaVersion.VERSION_1_7
  20. }
  21. sourceSets {
  22. main {
  23. assets {
  24. srcDirs 'src/main/assets'
  25. }
  26. }
  27. }
  28. }
  29. dependencies {
  30. api fileTree(dir: 'libs', include: '*.jar')
  31. }