build.gradle 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 28
  4. buildToolsVersion '28.0.3'
  5. defaultConfig {
  6. applicationId "com.example.zhpan.circleviewpager"
  7. minSdkVersion 19
  8. targetSdkVersion 28
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled true
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. sourceSets {
  20. main {
  21. jniLibs.srcDirs = ['libs']
  22. }
  23. }
  24. compileOptions {
  25. sourceCompatibility JavaVersion.VERSION_1_8
  26. targetCompatibility JavaVersion.VERSION_1_8
  27. }
  28. }
  29. repositories {
  30. flatDir {
  31. dirs 'libs'
  32. }
  33. }
  34. dependencies {
  35. implementation fileTree(include: ['*.jar'], dir: 'libs')
  36. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  37. androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
  38. exclude group: 'com.android.support', module: 'support-annotations'
  39. })
  40. implementation 'androidx.appcompat:appcompat:1.1.0'
  41. implementation 'androidx.recyclerview:recyclerview:1.0.0'
  42. testImplementation 'junit:junit:4.12'
  43. implementation 'com.github.bumptech.glide:glide:4.9.0'
  44. implementation 'com.github.chrisbanes:PhotoView:2.1.0'
  45. // implementation 'com.github.zhpanvip:BannerViewPager:2.3.5'
  46. implementation project(path: ':bannerview')
  47. implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0'
  48. implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0'
  49. debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0-beta-2'
  50. implementation project(path: ':ideahttp')
  51. api 'com.jakewharton:butterknife:10.2.0'
  52. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.0'
  53. }