build.gradle 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 26
  4. defaultConfig {
  5. minSdkVersion 22
  6. targetSdkVersion 26
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. compileOptions {
  18. sourceCompatibility JavaVersion.VERSION_1_8
  19. targetCompatibility JavaVersion.VERSION_1_8
  20. }
  21. }
  22. dependencies {
  23. implementation fileTree(include: ['*.jar'], dir: 'libs')
  24. implementation 'com.android.support:appcompat-v7:26.1.0'
  25. implementation 'com.zhy:okhttputils:2.6.2'
  26. testImplementation 'junit:junit:4.12'
  27. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  28. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  29. implementation project(':netcore')
  30. implementation project(':common')
  31. implementation files('libs/gson-2.2.4.jar')
  32. implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
  33. implementation 'io.reactivex.rxjava2:rxjava:2.1.3'
  34. implementation "com.github.gongbox:fss_common:$fss_version"
  35. //proto
  36. implementation 'com.google.protobuf:protobuf-java:3.8.0'
  37. //不错的工具类
  38. compile 'com.blankj:utilcode:1.11.1'
  39. }