build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 31
  4. defaultConfig {
  5. minSdkVersion 21
  6. targetSdkVersion 31
  7. versionCode 1
  8. versionName "5.5.892"
  9. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  10. }
  11. sourceSets {
  12. main {
  13. assets.srcDirs = ['assets']
  14. }
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. repositories {
  23. flatDir {
  24. dirs 'libs'
  25. }
  26. maven { url "https://mirrors.tencent.com/repository/maven/tencent_public" }
  27. }
  28. }
  29. dependencies {
  30. //implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs')
  31. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  32. implementation 'androidx.appcompat:appcompat:1.0.0'
  33. implementation 'androidx.annotation:annotation:1.0.0'
  34. implementation 'androidx.recyclerview:recyclerview:1.0.0'
  35. implementation 'it.sephiroth.android.library.imagezoom:library:1.0.4'
  36. implementation 'com.github.bumptech.glide:glide:4.9.0'
  37. implementation 'com.github.promeg:tinypinyin:1.0.0' // ~80KB
  38. implementation 'com.google.code.gson:gson:2.8.5'
  39. implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
  40. implementation project(path: ':baseswago')
  41. }