product: jvm/lib

dependencies:
  - io.github.java-diff-utils:java-diff-utils:4.12: exported
  - $kotlin.serialization.json
  - $libs.junit.jupiter.api: exported
  - $libs.intellij.platform.util # for proper command line quoting/escaping to launch Amper CLI
  - $libs.gradle.toolingApi: exported # exported because we use BuildLauncher in our API
  - $libs.kotlinx.coroutines.core: exported
  - $libs.kotlinx.coroutines.test: exported
  - $libs.kotlinx.coroutines.slf4j: exported
  - $libs.ktor.client.cio: runtime-only # engine for tests that download stuff (e.g. HttpServerExtension)
  - $libs.opentelemetry.sdk: exported
  - $libs.slf4j.api: exported
  - $libs.tinylog.impl: exported
  - $libs.mordant: exported
  - $libs.tinylog.slf4j
  - $libs.tinylog.jul
  - $kotlin.test.junit5
  - $libs.jna
  - $libs.jna.platform
  - ../amper-build-info
  - ../amper-jdk-provisioning
  - ../amper-problem-reporting
  - ../core
  - ../dependency-resolution
  - ../libraries/async-processes: exported # for ProcessResult in the API
  - ../libraries/incremental-cache
  - ../libraries/stdlib-extended
  - ../libraries/system-info
  - ../libraries/telemetry

apply:
  - ../common.module-template.yaml

test-dependencies:
  - ../amper-telemetry

settings:
  kotlin:
    serialization: enabled
    optIns: [ org.jetbrains.amper.frontend.schema.DiscouragedDirectDefaultVersionAccess ]
