i have an amper build that was using 0.4 and looks...
# amper
c
i have an amper build that was using 0.4 and looks like this:
Copy code
product:
  type: lib
  platforms:
    - jvm
dependencies:
  - ../core: exported
  - ../integresql-client: exported
  - io.vertx:vertx-lang-kotlin-coroutines:4.5.10
  - io.vertx:vertx-pg-client:4.5.10
  - com.ongres.scram:client:2.1
test-dependencies:
  - dev.failgood:failgood:0.9.1
  - $kotlin-test
settings:
  kotlin:
    languageVersion: 2.0
  junit: junit-5
I updated it to 0.7 but when I run ./amper test i get the error 00:00.988 ERROR /Users/christoph/Projects/isolation-chamber/integresql/module.yaml135: No catalog value for the key kotlin-test but when i command click on kotlin test in the file i get to a version catalog that contains kotlin-test
k
Please use
$kotlin.test
instead. We’ve changed the syntax for default catalogue entries some time ago. Sorry for the inconvenience.
j
Oh I should actually have placed this change among the breaking changes in the release notes. Sorry about this
c
ok but what was confusing is that it navigates to a version catalog that looks like this:
Copy code
[libraries]
kotlin-test-junit5 = "org.jetbrains.kotlin:kotlin-test-junit5:2.1.20"
kotlin-test-junit = "org.jetbrains.kotlin:kotlin-test-junit:2.1.20"
kotlin-test = "org.jetbrains.kotlin:kotlin-test:2.1.20"
kotlin.test = "org.jetbrains.kotlin:kotlin-test:2.1.20"
kotlin.test.junit = "org.jetbrains.kotlin:kotlin-test-junit:2.1.20"
kotlin.test.junit5 = "org.jetbrains.kotlin:kotlin-test-junit5:2.1.20"
kotlin.reflect = "org.jetbrains.kotlin:kotlin-reflect:2.1.20"
the filename tab just says “Built-in Catalog”
j
This might be a mismatch between the IDE plugin and the Amper CLI
Are you using IntelliJ IDEA 2025.1.2 Preview? That one should be the most aligned with the 0.7.0 CLI
c
I’m using the EAP version
👌 1
but that explains it! also it works now, thanks
🆒 1
j
Good to hear!