build.gradle 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. apply plugin: 'com.alibaba.arouter'
  5. android {
  6. compileSdkVersion 29
  7. buildToolsVersion "29.0.3"
  8. defaultConfig {
  9. applicationId "com.winhc.core"
  10. minSdkVersion 21
  11. targetSdkVersion 29
  12. versionCode 1
  13. versionName "1.0"
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. }
  16. compileOptions {
  17. sourceCompatibility rootProject.ext.appSourceCompatibility
  18. targetCompatibility rootProject.ext.appTargetCompatibility
  19. }
  20. buildTypes {
  21. release {
  22. minifyEnabled true
  23. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  24. }
  25. debug {
  26. minifyEnabled false
  27. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  28. }
  29. }
  30. }
  31. dependencies {
  32. implementation fileTree(dir: 'libs', include: ['*.jar'])
  33. implementation "com.android.support:appcompat-v7:28.0.0"
  34. implementation "com.android.support:support-v4:28.0.0"
  35. implementation "com.android.support:design:28.0.0"
  36. implementation "com.android.support:recyclerview-v7:28.0.0"
  37. implementation "com.android.support.constraint:constraint-layout:1.1.3"
  38. testImplementation 'junit:junit:4.12'
  39. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  40. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  41. implementation project(path: ':busCore')
  42. implementation "com.alibaba:arouter-api:1.5.2"
  43. }