build.gradle.kts 928 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. plugins {
  2. id("com.android.library")
  3. kotlin("android")
  4. kotlin("plugin.serialization")
  5. }
  6. android {
  7. namespace = "tachiyomi.domain"
  8. defaultConfig {
  9. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  10. consumerProguardFiles("consumer-rules.pro")
  11. }
  12. }
  13. dependencies {
  14. implementation(project(":source-api"))
  15. implementation(project(":core"))
  16. implementation(platform(kotlinx.coroutines.bom))
  17. implementation(kotlinx.bundles.coroutines)
  18. implementation(kotlinx.bundles.serialization)
  19. implementation(libs.unifile)
  20. api(libs.sqldelight.android.paging)
  21. testImplementation(libs.bundles.test)
  22. testImplementation(kotlinx.coroutines.test)
  23. }
  24. tasks {
  25. withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
  26. kotlinOptions.freeCompilerArgs += listOf(
  27. "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi",
  28. )
  29. }
  30. }