build.gradle 1000 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdk 32
  4. defaultConfig {
  5. minSdkVersion 18
  6. targetSdkVersion 32
  7. versionCode 20241221
  8. versionName '2.0.24.1221'
  9. consumerProguardFiles 'proguard-rules.pro'
  10. buildConfigField 'boolean', 'MEDIA_DEBUG', 'false'
  11. }
  12. buildTypes {
  13. debug {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'library.pro'
  16. }
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'library.pro'
  20. }
  21. }
  22. compileOptions {
  23. sourceCompatibility = '1.8'
  24. targetCompatibility = '1.8'
  25. }
  26. }
  27. dependencies {
  28. implementation fileTree(include: ['*.jar'], dir: 'libs')
  29. implementation 'androidx.appcompat:appcompat:1.3.0'
  30. //implementation "com.android.support:appcompat-v7:26.1.0"
  31. //implementation "com.android.support:support-v4:26.1.0"
  32. }