Hi. When I add `- org.jetbrains.kotlinx:kotlinx-io...
# amper
g
Hi. When I add
- org.jetbrains.kotlinx:kotlinx-io-core:0.3.5
to project as a test dependency then I can not import functions from Kotlin's stdlib
👀 1
here is my module file
Copy code
product:
  type: lib
  platforms:
    - macosX64
    - macosArm64
    - jvm
#    - mingwX64

dependencies:
  - io.ktor:ktor-client-content-negotiation:2.3.10
  - io.ktor:ktor-serialization-kotlinx-json:2.3.10
  - io.ktor:ktor-client-core:2.3.10
  - com.mohamedrejeb.ksoup:ksoup-html:0.3.1
  - com.fleeksoft.ksoup:ksoup:0.1.2

test-dependencies:
  - org.jetbrains.kotlinx:kotlinx-io-core:0.3.5

dependencies@jvm:
  - io.ktor:ktor-client-okhttp:2.3.10

dependencies@macos:
  - io.ktor:ktor-client-curl:2.3.10

settings:
  kotlin:
    freeCompilerArgs:
      - "-Xexplicit-api=strict"
    languageVersion: 1.9
    serialization:
      json
  jvm:
    target: 17
  publishing:
    version: "1.2"
    group: "io.github.shalva97.overwatch_player_search_api"
if this code is present
Copy code
test-dependencies:
  - org.jetbrains.kotlinx:kotlinx-io-core:0.3.5
then in Intellij lot's of basic functions do not autocomplete
message has been deleted
message has been deleted
any ideas how to fix that? I wanted to have file system access in tests so I can read out mock json from a file and do stuff with it
z
Thanks for the report, I've managed to reproduce the problem (
lazy
not resolving) in Fleet, using your module file. Looks like bumping the Amper version to
0.3.0
fixes the issue for me, can you try updating to that version?
g
yep, it worked
🎉 1
thanks