build.gradle.kts 809 B

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