Hi, I’m trying to create a unit test using Amper 0...
# amper
s
Hi, I’m trying to create a unit test using Amper 0.7.0 standalone. The class I’m testing is marked as internal, and Amper throws an error during the build process for accessing this internal class—even though it’s in the same module. Interestingly, the IDE doesn’t show any error; it only fails when building with Amper and I believe it was working fine with Gradle.
👀 1
a
Works on my machine (c) 😄 Could you please share the project if possible?
j
@Sabeeh do you see this with JVM or native code? If native, you might be running into this: https://youtrack.jetbrains.com/issue/AMPER-4173/Kotlin-Native-compilation-doesnt-respect-friends-relationship
ah ok 1
s
Hi, This is a private repository that was originally using Amper with Gradle. I had tried switching to Amper Standalone but have now reverted back to the Amper Gradle-based setup. I will try to create a new project to reproduce this issue, as I believe it might be related to native targets.
🙏 2