build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. defaultConfig {
  5. minSdkVersion 16
  6. targetSdkVersion 28
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. compileOptions {
  18. sourceCompatibility JavaVersion.VERSION_1_8
  19. targetCompatibility JavaVersion.VERSION_1_8
  20. }
  21. }
  22. repositories {
  23. flatDir {
  24. dirs 'libs'
  25. }
  26. }
  27. dependencies {
  28. implementation project(path: ':core')
  29. compileOnly fileTree(dir: 'libs', include: ['*.jar'])
  30. compileOnly fileTree(dir: '../app/libs', include: ['uniapp-v8-release.aar'])
  31. compileOnly 'androidx.recyclerview:recyclerview:1.0.0'
  32. compileOnly 'androidx.legacy:legacy-support-v4:1.0.0'
  33. compileOnly 'androidx.appcompat:appcompat:1.0.0'
  34. implementation 'com.alibaba:fastjson:1.1.46.android'
  35. implementation 'com.facebook.fresco:fresco:1.13.0'
  36. implementation 'com.yanzhenjie:permission:2.0.3'
  37. compileOnly fileTree(dir: '../app/libs', include: ['chileaf_wear_sdk_1.0.0.aar'])
  38. /*implementation 'com.android.support:appcompat-v7:28.0.0'
  39. testImplementation 'junit:junit:4.12'
  40. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  41. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'*/
  42. }