build.gradle 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 30
  4. defaultConfig {
  5. minSdkVersion 19
  6. targetSdkVersion 30
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. compileOptions {
  18. sourceCompatibility = '1.8'
  19. targetCompatibility = '1.8'
  20. }
  21. ndkVersion '22.1.7171670'
  22. buildToolsVersion '30.0.3'
  23. }
  24. dependencies {
  25. implementation fileTree(dir: 'libs', include: ['*.jar'])
  26. testImplementation 'junit:junit:4.12'
  27. //Facebook Spring动画库
  28. implementation 'com.facebook.rebound:rebound:0.3.8'
  29. //glide图片加载库
  30. implementation 'com.github.bumptech.glide:glide:4.12.0'
  31. //权限申请
  32. implementation 'com.yanzhenjie:permission:2.0.3'
  33. implementation 'androidx.appcompat:appcompat:1.3.0'
  34. }