build.gradle 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. apply plugin: "com.android.application"
  2. apply plugin: "kotlin-android"
  3. apply plugin: "kotlin-android-extensions"
  4. apply plugin: "kotlin-kapt"
  5. android {
  6. compileSdkVersion 29
  7. buildToolsVersion "29.0.2"
  8. defaultConfig {
  9. applicationId "com.drake.net.sample"
  10. minSdkVersion 19
  11. targetSdkVersion 29
  12. versionCode 1
  13. versionName "1.0"
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
  20. }
  21. }
  22. }
  23. dependencies {
  24. implementation fileTree(dir: "libs", include: ["*.jar"])
  25. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  26. implementation "androidx.appcompat:appcompat:1.1.0"
  27. implementation "androidx.core:core-ktx:1.1.0"
  28. implementation "androidx.constraintlayout:constraintlayout:1.1.3"
  29. testImplementation "junit:junit:4.13"
  30. androidTestImplementation "androidx.test:runner:1.2.0"
  31. androidTestImplementation "androidx.test.espresso:espresso-core:3.2.0"
  32. implementation project(path: ":net")
  33. implementation "androidx.recyclerview:recyclerview:1.1.0"
  34. implementation "com.google.android.material:material:1.0.0"
  35. implementation "com.github.liangjingkanji:BRV:$brv_version"
  36. implementation "com.github.bumptech.glide:glide:$glide_version"
  37. implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutine_version"
  38. implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine_version"
  39. implementation "com.squareup.moshi:moshi-kotlin:1.8.0"
  40. kapt "com.squareup.moshi:moshi-kotlin-codegen:1.8.0"
  41. implementation "com.scwang.smart:refresh-header-classics:2.0.0-alpha-1"
  42. implementation "com.scwang.smart:refresh-footer-classics:2.0.0-alpha-1"
  43. implementation "com.github.liangjingkanji:debugkit:1.2.9"
  44. implementation "com.github.liangjingkanji:LogCat:1.0"
  45. }