build.gradle 2.4 KB

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