build.gradle 606 B

123456789101112131415161718192021222324
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'com.github.dcendents.android-maven'
  3. apply plugin: 'kotlin-android'
  4. apply plugin: 'kotlin-android-extensions'
  5. android {
  6. compileSdkVersion 28
  7. defaultConfig {
  8. minSdkVersion 19
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled false
  13. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  14. }
  15. }
  16. }
  17. dependencies {
  18. implementation 'androidx.viewpager2:viewpager2:1.0.0'
  19. api 'com.github.zhpanvip:viewpagerindicator:1.2.0'
  20. // api project(path: ':indicator')
  21. }