Join Slack
Powered by
Can you make another module a "friend" from within...
# gradle
c
Caleb B
04/20/2026, 8:02 PM
Can you make another module a "friend" from within the Kotlin JVM plugin, or do you have to do it through the Java plugin? I'm talking about Java 9+'s
module com.example.app { exports com.example.entities; }
, but since Kotlin has its own "internal" system, I want to make sure I'm not missing something there.
e
ephemient
04/20/2026, 8:36 PM
friend modules have nothing to do with JPMS
ephemient
04/20/2026, 8:36 PM
also there is no easy way to configure them at the moment
https://youtrack.jetbrains.com/issue/KT-62688/Provide-a-Kotlin-plugin-DSL-to-configure-friend-modules
5
Views
Open in Slack
Previous
Next