build.gradle 761 B

123456789101112131415161718192021222324252627282930
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. defaultConfig {
  5. minSdkVersion 17
  6. targetSdkVersion 27
  7. }
  8. buildTypes {
  9. release {
  10. minifyEnabled false
  11. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  12. }
  13. }
  14. compileOptions {
  15. sourceCompatibility JavaVersion.VERSION_1_8
  16. targetCompatibility JavaVersion.VERSION_1_8
  17. }
  18. buildToolsVersion PROP_BUILD_TOOLS_VERSION
  19. }
  20. dependencies {
  21. implementation fileTree(include: ['*.jar'], dir: 'libs')
  22. // 权限请求框架:https://github.com/getActivity/XXPermissions
  23. api 'androidx.appcompat:appcompat:1.0.0'
  24. api 'com.github.getActivity:XXPermissions:11.6'
  25. }