build.gradle 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. apply plugin: 'com.android.library'
  2. //apply plugin: 'com.github.dcendents.android-maven'
  3. //group='com.github.jiangdongguo'
  4. android {
  5. compileSdkVersion rootProject.ext.android["compileSdkVersion"]
  6. buildToolsVersion rootProject.ext.android["buildToolsVersion"]
  7. defaultConfig {
  8. minSdkVersion 19
  9. // targetSdkVersion 22
  10. // versionCode 1
  11. // versionName "1.0"
  12. //
  13. // testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility = 1.8
  23. targetCompatibility = 1.8
  24. }
  25. }
  26. repositories {
  27. flatDir {
  28. dirs 'libs'
  29. }
  30. mavenCentral()
  31. }
  32. dependencies {
  33. implementation fileTree(include: ['*.jar'], dir: 'libs')
  34. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  35. androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
  36. exclude group: 'com.android.support', module: 'support-annotations'
  37. })
  38. implementation 'androidx.appcompat:appcompat:1.3.0'
  39. api 'me.jessyan:arms:2.5.2'
  40. api 'me.jessyan:arms-imageloader-glide:2.5.2'
  41. testImplementation 'junit:junit:4.12'
  42. // implementation 'com.serenegiant:common:1.5.20'
  43. // implementation("com.serenegiant:common:1.5.20") {
  44. // exclude module: 'support-v4'
  45. // exclude module: 'recyclerview-v7'
  46. // }
  47. // implementation 'com.google.code.gson:gson:2.8.5'
  48. api rootProject.ext.dependencies["eventbus"]
  49. api rootProject.ext.dependencies["timber"]
  50. api rootProject.ext.dependencies["toast"]
  51. api rootProject.ext.dependencies["fastjson"]
  52. api rootProject.ext.dependencies["autosize"]
  53. api 'org.xutils:xutils:3.5.0'
  54. implementation(name: 'watermarklibrary-0.2.1', ext: 'aar')
  55. implementation(name: 'oaid_sdk_1.0.25', ext: 'aar')
  56. //test
  57. // api rootProject.ext.dependencies["timber"]
  58. // api 'xiaofei.library:hermes-eventbus:0.3.0'
  59. // implementation (name: 'common-1.5.20', ext: 'aar')
  60. implementation 'com.jaeger.statusbarutil:library:1.5.1'
  61. implementation files('libs/zkjc.jar')
  62. // implementation 'net.lingala.zip4j:zip4j:1.3.2'
  63. }