build.gradle 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion versions.compileSdk
  6. buildToolsVersion versions.buildTools
  7. defaultConfig {
  8. minSdkVersion versions.minSdk
  9. targetSdkVersion versions.targetSdk
  10. flavorDimensions "versioncode"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. productFlavors productF
  19. sourceSets {
  20. main {
  21. jniLibs.srcDirs = ['libs']
  22. }
  23. }
  24. namespace 'com.xuqm.sdhbwfu.core'
  25. }
  26. dependencies {
  27. api fileTree(dir: "libs", include: ["*.jar"])
  28. api project(path: ':base')
  29. // api 'com.xuqm.android:base:0.0.5.102'
  30. api 'androidx.navigation:navigation-fragment-ktx:2.3.5'
  31. api 'androidx.navigation:navigation-ui-ktx:2.3.5'
  32. api 'androidx.navigation:navigation-fragment-ktx:2.3.5'
  33. api 'androidx.navigation:navigation-ui-ktx:2.3.5'
  34. //权限控制
  35. // api 'com.github.quickpermissions:quickpermissions-kotlin:0.4.0'
  36. //圆形View----View.clipToOutline = true
  37. // View.outlineProvider = PillProvider
  38. // View.outlineProvider = CircleProvider
  39. // View.outlineProvider = FilletProvider(radius)
  40. api 'com.oikawaii.library:outline:1.0.1'
  41. //eventbus
  42. implementation 'org.greenrobot:eventbus:3.1.1'
  43. //选择器 https://github.com/Bigkoo/Android-PickerView
  44. api 'com.contrarywind:Android-PickerView:4.1.9'
  45. }