build.gradle 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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.12'
  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 'com.squareup.moshi:moshi-kotlin:1.8.0'
  34. kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.8.0'
  35. implementation 'com.github.liangjingkanji:BRV:1.1.2'
  36. implementation 'com.scwang.smart:refresh-header-classics:2.0.0-alpha-1'
  37. implementation 'com.scwang.smart:refresh-footer-classics:2.0.0-alpha-1'
  38. implementation 'io.reactivex.rxjava2:rxkotlin:2.3.0'
  39. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  40. implementation 'com.github.liangjingkanji:debugkit:1.2.9'
  41. implementation 'com.github.bumptech.glide:glide:4.9.0'
  42. }