build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 26
  4. defaultConfig {
  5. minSdkVersion 21
  6. targetSdkVersion 26
  7. versionCode 2
  8. versionName "1.0"
  9. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  10. }
  11. sourceSets {
  12. main {
  13. jniLibs.srcDirs = ['libs']
  14. }
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. }
  23. dependencies {
  24. implementation fileTree(dir: 'libs', include: ['*.jar'])
  25. implementation 'com.android.support:appcompat-v7:26.1.0'
  26. //BaseOkHttp V3 网络请求库
  27. implementation 'com.github.kongzue:BaseOkHttpV3:3.2.3.beta4'
  28. //BaseJson 解析库
  29. implementation 'com.github.kongzue:BaseJson:1.0.7.2'
  30. implementation "com.squareup.okhttp3:okhttp:4.9.1"
  31. implementation files('libs/fastjson-1.1.46.android.jar')
  32. implementation files ('libs/nuisdk-release.aar')
  33. api 'org.greenrobot:eventbus:3.2.0'
  34. implementation 'androidx.appcompat:appcompat:1.3.1'
  35. }