build.gradle.kts 934 B

12345678910111213141516171819202122232425262728293031323334353637
  1. plugins {
  2. kotlin("multiplatform")
  3. id("com.android.library")
  4. }
  5. kotlin {
  6. android()
  7. sourceSets {
  8. val commonMain by getting {
  9. dependencies {
  10. implementation(project(":source-api"))
  11. implementation(libs.unifile)
  12. implementation(libs.junrar)
  13. }
  14. }
  15. val androidMain by getting {
  16. dependencies {
  17. implementation(project(":core"))
  18. implementation(project(":core-metadata"))
  19. // Move ChapterRecognition to separate module?
  20. implementation(project(":domain"))
  21. implementation(kotlinx.bundles.serialization)
  22. }
  23. }
  24. }
  25. }
  26. android {
  27. namespace = "tachiyomi.source.local"
  28. defaultConfig {
  29. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  30. consumerProguardFiles("consumer-rules.pro")
  31. }
  32. }