https://kotlinlang.org logo
Title
j

james_bassett

03/10/2020, 11:28 PM
Question about the new
api
configuration...I was under the impression that it was only available when you had applied the
java-library
plugin. However I'm able to use it in Gradle 6.2 (and I can see the effect it has on the module metadata when published to Nexus). A build scan reveals that the
java-library
plugin isn't applied, so how is this possible?
o

octylFractal

03/10/2020, 11:29 PM
the kotlin plugin applies its own
api
configuration. I don't know if it functions properly now, I know that it used to not work the same as the one from
java-library
j

james_bassett

03/10/2020, 11:29 PM
Whoah ok
o

octylFractal

03/10/2020, 11:34 PM
it looks like it got fixed
j

james_bassett

03/10/2020, 11:49 PM
It's really weird that this isn't documented anywhere that I can see