build.gradle.kts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. plugins {
  2. id("com.android.application")
  3. id("kotlin-android")
  4. id("kotlin-kapt")
  5. id("kotlin-parcelize")
  6. id("com.mikepenz.aboutlibraries.plugin")
  7. id("com.google.protobuf")
  8. }
  9. setupApp()
  10. android {
  11. compileOptions {
  12. isCoreLibraryDesugaringEnabled = true
  13. }
  14. kapt.arguments {
  15. arg("room.incremental", true)
  16. arg("room.schemaLocation", "$projectDir/schemas")
  17. }
  18. bundle {
  19. language {
  20. enableSplit = false
  21. }
  22. }
  23. buildFeatures {
  24. viewBinding = true
  25. }
  26. }
  27. dependencies {
  28. val hutoolVersion = rootProject.extra["hutoolVersion"].toString()
  29. implementation(fileTree("libs"))
  30. compileOnly(project(":library:stub"))
  31. implementation(project(":library:include"))
  32. implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0")
  33. implementation("androidx.core:core-ktx:1.7.0")
  34. implementation("androidx.activity:activity-ktx:1.4.0")
  35. implementation("androidx.fragment:fragment-ktx:1.4.1")
  36. implementation("androidx.browser:browser:1.4.0")
  37. implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
  38. implementation("androidx.constraintlayout:constraintlayout:2.1.3")
  39. implementation("androidx.navigation:navigation-fragment-ktx:2.4.1")
  40. implementation("androidx.navigation:navigation-ui-ktx:2.4.1")
  41. implementation("androidx.preference:preference-ktx:1.2.0")
  42. implementation("androidx.appcompat:appcompat:1.4.1")
  43. implementation("androidx.work:work-runtime-ktx:2.7.1")
  44. implementation("androidx.work:work-multiprocess:2.7.1")
  45. implementation(project(":external:preferencex:preferencex"))
  46. implementation(project(":external:preferencex:preferencex-simplemenu"))
  47. implementation(project(":external:preferencex:preferencex-colorpicker"))
  48. implementation("com.google.android.material:material:1.5.0")
  49. implementation("cn.hutool:hutool-core:$hutoolVersion")
  50. implementation("cn.hutool:hutool-json:$hutoolVersion")
  51. implementation("com.google.code.gson:gson:2.9.0")
  52. implementation("com.google.zxing:core:3.4.1")
  53. implementation("org.yaml:snakeyaml:1.30")
  54. implementation("com.github.daniel-stoneuk:material-about-library:3.2.0-rc01")
  55. implementation("com.mikepenz:aboutlibraries:8.9.4")
  56. implementation("com.jakewharton:process-phoenix:2.1.2")
  57. implementation("com.esotericsoftware:kryo:5.3.0")
  58. implementation("com.google.guava:guava:31.1-android")
  59. implementation("com.journeyapps:zxing-android-embedded:4.3.0")
  60. implementation("org.ini4j:ini4j:0.5.4")
  61. implementation("io.noties.markwon:core:4.6.2")
  62. implementation("com.twofortyfouram:android-plugin-api-for-locale:1.0.4")
  63. implementation("com.simplecityapps:recyclerview-fastscroll:2.0.1") {
  64. exclude(group = "androidx.recyclerview")
  65. exclude(group = "androidx.appcompat")
  66. }
  67. implementation("org.smali:dexlib2:2.5.2") {
  68. exclude(group = "com.google.guava", module = "guava")
  69. }
  70. implementation("androidx.room:room-runtime:2.4.2")
  71. kapt("androidx.room:room-compiler:2.4.2")
  72. implementation("androidx.room:room-ktx:2.4.2")
  73. implementation("editorkit:editorkit:2.0.0")
  74. implementation("editorkit:feature-editor:2.0.0")
  75. implementation("editorkit:language-json:2.0.0")
  76. implementation("termux:terminal-view:1.0")
  77. implementation(project(":library:proto-stub"))
  78. // implementation("io.grpc:grpc-okhttp:1.40.1")
  79. coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.5")
  80. }