build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. namespace 'cn.org.bjca.trust.android.lib.push'
  6. compileSdk 33
  7. defaultConfig {
  8. minSdk 24
  9. targetSdk 33
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. consumerProguardFiles "consumer-rules.pro"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  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. }
  24. dependencies {
  25. implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs')
  26. implementation 'androidx.appcompat:appcompat:1.4.2'
  27. implementation 'com.google.android.material:material:1.5.0'
  28. testImplementation 'junit:junit:4.13.2'
  29. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  30. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  31. }