build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 29
  6. buildToolsVersion "29.0.3"
  7. defaultConfig {
  8. minSdkVersion 22
  9. targetSdkVersion 29
  10. versionCode 5
  11. versionName "5.0"
  12. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  13. consumerProguardFiles 'consumer-rules.pro'
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_1_8
  23. targetCompatibility JavaVersion.VERSION_1_8
  24. }
  25. }
  26. dependencies {
  27. implementation 'com.android.support:appcompat-v7:28.0.0'
  28. testImplementation 'junit:junit:4.12'
  29. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  30. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  31. implementation project(path: ':facelibrary')
  32. //EventBus
  33. implementation 'org.greenrobot:eventbus:3.1.1'
  34. //基类
  35. implementation project(':lib_base')
  36. }