build.gradle 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion 29
  6. buildToolsVersion "29.0.2"
  7. defaultConfig {
  8. applicationId "com.airsmart.jackie.loopviewpagerdemo"
  9. minSdkVersion 21
  10. targetSdkVersion 29
  11. versionCode 1
  12. versionName "1.0"
  13. //testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_1_8
  23. targetCompatibility JavaVersion.VERSION_1_8
  24. }
  25. }
  26. dependencies {
  27. implementation fileTree(dir: 'libs', include: ['*.jar'])
  28. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  29. //implementation 'com.android.support:appcompat-v7:28.0.0'
  30. //implementation 'androidx.appcompat:appcompat:1.1.0'
  31. //implementation 'androidx.recyclerview:recyclerview:1.1.0'
  32. implementation "com.android.support:recyclerview-v7:28.0.0"
  33. implementation 'com.android.support:appcompat-v7:28.0.0'
  34. /*androidx.paging:paging-common
  35. androidx.paging:paging-runtime*/
  36. //paging
  37. implementation 'android.arch.paging:runtime:1.0.1'
  38. implementation 'android.arch.paging:common:1.0.1'
  39. // implementation 'androidx.paging:paging-common:2.1.2'
  40. // implementation 'androidx.paging:paging-runtime:2.1.2'
  41. //implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
  42. //implementation 'com.airsmart.github.lib:MPAndroidChart:1.0.1'
  43. implementation project(':MPChartLib')
  44. //implementation 'androidx.core:core-ktx:1.2.0'
  45. //implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  46. //implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  47. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  48. /*testImplementation 'junit:junit:4.12'
  49. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  50. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'*/
  51. implementation 'com.annimon:stream:1.2.1'
  52. }