build.gradle 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. plugins {
  2. id 'com.android.application'
  3. id 'kotlin-android'
  4. id 'kotlin-android-extensions'
  5. id 'kotlin-kapt'
  6. }
  7. android {
  8. compileSdkVersion 30
  9. buildToolsVersion "30.0.2"
  10. defaultConfig {
  11. applicationId "com.doverfuelingsolutions.issp"
  12. minSdkVersion 25
  13. targetSdkVersion 30
  14. versionCode 1
  15. versionName "1.0"
  16. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  17. }
  18. buildFeatures {
  19. dataBinding true
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled false
  24. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  25. }
  26. }
  27. compileOptions {
  28. sourceCompatibility JavaVersion.VERSION_1_8
  29. targetCompatibility JavaVersion.VERSION_1_8
  30. }
  31. kotlinOptions {
  32. jvmTarget = '1.8'
  33. }
  34. }
  35. dependencies {
  36. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  37. implementation 'androidx.core:core-ktx:1.3.2'
  38. implementation 'androidx.appcompat:appcompat:1.2.0'
  39. implementation "androidx.fragment:fragment-ktx:1.3.0-beta02"
  40. implementation 'com.google.android.material:material:1.2.1'
  41. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  42. implementation 'androidx.preference:preference-ktx:1.1.1'
  43. testImplementation 'junit:junit:4.+'
  44. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  45. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  46. implementation project(':waynelib_')
  47. def retrofitVersion = '2.9.0'
  48. implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
  49. implementation "com.squareup.okio:okio:$retrofitVersion"
  50. implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion"
  51. def coroutineVersion = '1.4.2'
  52. implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutineVersion"
  53. implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutineVersion"
  54. def work_version = "2.4.0"
  55. implementation "androidx.work:work-runtime-ktx:$work_version"
  56. implementation 'androidx.startup:startup-runtime:1.0.0'
  57. implementation 'com.youth.banner:banner:2.1.0'
  58. def refresh_version = '2.0.1'
  59. implementation "com.scwang.smart:refresh-layout-kernel:$refresh_version"
  60. implementation "com.scwang.smart:refresh-header-classics:$refresh_version"
  61. }