product: jvm/lib

apply:
  - ../../common.module-template.yaml
  - ../../used-in-idea.module-template.yaml

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

dependencies:
  - ../../amper-build-info
  - ../../amper-problem-reporting: exported
  - ../../amper-telemetry
  - ../../android-integration/amper-android-sdk-detector
  - ../../frontend-api: exported
  - ../../extensibility/amper-extensibility-schema-model: exported
  - ../../core
  - ../../frontend/plain/toml-psi
  - ../../frontend/plain/yaml-psi
  - ../../frontend/plain/amper-psi
  - ../../libraries/stdlib-extended
  - ../../libraries/system-info
  - ../../libraries/telemetry
  - ../../core-intellij
  - $libs.kotlin.reflect
  - $libs.maven.artifact
  - $libs.intellij.platform.core: exported # because we expose Project in public API
  - $libs.intellij.platform.coreImpl
  - $libs.intellij.platform.ideCore
  - $libs.intellij.platform.util
  - $libs.kotlinx.collections
  - $libs.xmlutil.serialization

test-dependencies:
  - ../../test-base
  - $libs.junit.jupiter.params
