build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 30
  4. buildToolsVersion "30.0.3"
  5. defaultConfig {
  6. minSdkVersion 19
  7. targetSdkVersion 30
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. consumerProguardFiles 'consumer-rules.pro'
  12. ndk {
  13. abiFilters "armeabi-v7a" // "armeabi", "x86", "arm64-v8a"
  14. }
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. compileOptions {
  23. sourceCompatibility JavaVersion.VERSION_1_8
  24. targetCompatibility JavaVersion.VERSION_1_8
  25. }
  26. }
  27. repositories {
  28. flatDir {
  29. dirs 'libs'
  30. }
  31. }
  32. configurations {
  33. cleanedAnnotations
  34. compile.exclude group: 'org.jetbrains' , module:'annotations'
  35. }
  36. dependencies {
  37. implementation fileTree(dir: 'libs', include: ['*.jar'])
  38. compile(name:'logansdk-utils-3.1.00',ext:'aar')
  39. compile(name:'xcrash-lib-0.0.3',ext:'aar')
  40. implementation 'androidx.appcompat:appcompat:1.0.2'
  41. testImplementation 'junit:junit:4.12'
  42. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  43. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  44. implementation 'io.reactivex.rxjava2:rxjava:2.2.15'
  45. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  46. // implementation 'com.decard.mobile:logansdk-utils:3.1.00'//德卡日志
  47. }