build.gradle 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 'com.xm.permissions:XmPermissions:1.0.1'
  54. api 'com.google.android.material:material:1.1.0'
  55. api rootProject.ext.dependencies["SmartRefreshLayout"]
  56. api rootProject.ext.dependencies["SmartRefreshHeader"]
  57. api rootProject.ext.dependencies["SmartRefreshFooter"]
  58. api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
  59. api 'androidx.constraintlayout:constraintlayout:1.1.3'
  60. api rootProject.ext.dependencies["picasso"]
  61. api 'org.xutils:xutils:3.5.0'
  62. implementation(name: 'watermarklibrary-0.2.1', ext: 'aar')
  63. implementation(name: 'oaid_sdk_1.0.25', ext: 'aar')
  64. //test
  65. // api rootProject.ext.dependencies["timber"]
  66. // api 'xiaofei.library:hermes-eventbus:0.3.0'
  67. // implementation (name: 'common-1.5.20', ext: 'aar')
  68. implementation 'com.jaeger.statusbarutil:library:1.5.1'
  69. implementation files('libs/zkjc.jar')
  70. implementation 'com.github.gcacace:signature-pad:1.3.1'
  71. // implementation 'net.lingala.zip4j:zip4j:1.3.2'
  72. }