build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. dependencies {
  27. implementation fileTree(include: ['*.jar'], dir: 'libs')
  28. androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
  29. exclude group: 'com.android.support', module: 'support-annotations'
  30. })
  31. implementation 'androidx.appcompat:appcompat:1.3.0'
  32. testImplementation 'junit:junit:4.12'
  33. // implementation 'com.serenegiant:common:1.5.20'
  34. // implementation("com.serenegiant:common:1.5.20") {
  35. // exclude module: 'support-v4'
  36. // exclude module: 'recyclerview-v7'
  37. // }
  38. implementation 'com.google.code.gson:gson:2.8.5'
  39. implementation 'org.xutils:xutils:3.5.0'
  40. implementation 'com.alibaba:fastjson:1.2.24'
  41. }