1
0

build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 16
  9. targetSdkVersion 28
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. }
  21. dependencies {
  22. implementation fileTree(dir: 'libs', include: ['*.jar'])
  23. testImplementation 'junit:junit:4.12'
  24. androidTestImplementation 'androidx.test:runner:1.2.0'
  25. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  26. implementation 'androidx.appcompat:appcompat:1.1.0'
  27. api 'com.github.zhpanvip:viewpagerindicator:1.0.3'
  28. implementation 'androidx.viewpager2:viewpager2:1.0.0'
  29. implementation 'androidx.core:core-ktx:1.2.0'
  30. // api project(path: ':indicator')
  31. }