melix / jmh-gradle-plugin

Integrates the JMH benchmarking framework with Gradle
Apache License 2.0
667 stars 88 forks source link

Modify Kotlin functional test to use internal code #196

Closed MariusVolkhart closed 3 years ago

MariusVolkhart commented 3 years ago

Kotlin has the concept of "internal" code - code which is only accessible to the current "module". When running JMH benchmarks, I believe most developers would consider their benchmarks to be part of the same module. Right now, the JMH plugin does not resolve internal APIs from the main sourceset to the jmh sourceset.

Note that this change set only demonstrates the issue, it does not fix it.