build.gradle 1.5 KB

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