build.gradle 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion 28
  6. defaultConfig {
  7. minSdkVersion 21
  8. targetSdkVersion 28
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. debug {
  15. resValue "string", "bomo_cloud_client_id", "7c1b7650fca271fde85b13a36cc4c618901660b4a4e7c0a27951fc63c12b4e1a"
  16. resValue "string", "bomo_cloud_client_secret", "6d8a8ea958794a00d2265b8ca35556d328ef9576a22cb5f89dfcb1fdc9ce3535"
  17. manifestPlaceholders = [isDebug: true]
  18. }
  19. release {
  20. resValue "string", "bomo_cloud_client_id", "e645162f19352e0041f0a0486723f75fe8d44a979f312214986aab22f89a0c3c"
  21. resValue "string", "bomo_cloud_client_secret", "3cea632fccc3fc8927a3d92d50bf100d3ca79ab136bc3c56177067b6cf78bc2a"
  22. manifestPlaceholders = [isDebug: false]
  23. minifyEnabled false
  24. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  25. }
  26. }
  27. }
  28. dependencies {
  29. implementation fileTree(dir: 'libs', include: ['*.jar'])
  30. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  31. implementation 'com.android.support:appcompat-v7:28.0.0-rc02'
  32. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  33. implementation 'com.android.support:design:28.0.0-rc02'
  34. implementation 'com.android.support:support-v4:28.0.0-rc02'
  35. testImplementation 'junit:junit:4.12'
  36. implementation "android.arch.lifecycle:extensions:1.1.0"
  37. implementation "android.arch.lifecycle:viewmodel:1.1.0"
  38. androidTestImplementation 'com.android.support.test:rules:1.0.2'
  39. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  40. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  41. implementation 'com.google.code.gson:gson:2.8.5'
  42. implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
  43. implementation 'io.reactivex.rxjava2:rxjava:2.2.2'
  44. implementation project(':Bomo_for_Android_trackWidgetModule')
  45. implementation project(':Bomo_for_Android_cloudModule')
  46. implementation project(':Bomo_for_Android_encodeModule')
  47. implementation project(':uikit')
  48. implementation project(':pdfexport')
  49. implementation project(':kdan_brush_library_for_android')
  50. implementation 'com.squareup.picasso:picasso:2.71828'
  51. implementation 'com.github.naman14:TAndroidLame:1.1'
  52. implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.16'
  53. implementation 'org.jcodec:jcodec:0.2.3'
  54. implementation 'org.jcodec:jcodec-android:0.2.3'
  55. }
  56. repositories {
  57. mavenCentral()
  58. }