https://kotlinlang.org logo
Title
k

kevinherron

07/12/2017, 8:51 PM
did something change? this worked at one point
d

danny

07/12/2017, 9:04 PM
I ran into the same problem on 1.1.3-2 on IntelliJ 2017.2 preview. Internal property that works from the Gradle build, but IntelliJ complains it’s internal when I try to compile my tests
k

kevinherron

07/12/2017, 9:05 PM
yes, mine works from the build as well
l

lovis

07/13/2017, 8:43 AM
internal
is about modules, not packages. are your tests in a different module?
k

kevinherron

07/13/2017, 12:07 PM
@lovis same module. however, I think Intellij may be treating src/main/kotlin and src/test/kotlin as separate source sets and treating that the same as a separate module
l

lovis

07/13/2017, 12:08 PM
I had a similar issue and I could resolve it by unchecking “Create separate module per source set” during the import of the project (gradle)