kotlinx-benchmark icon indicating copy to clipboard operation
kotlinx-benchmark copied to clipboard

Hide unintentionally public API

Open qurbonzoda opened this issue 1 year ago • 2 comments
trafficstars

Both the :plugin and :runtime modules have many APIs that were accidentally introduced with a public visibility modifier. These APIs are currently annotated with @KotlinxBenchmarkPluginInternalApi and @KotlinxBenchmarkRuntimeInternalApi in the plugin and runtime, respectively.

The annotations require opt-in with a WARNING level. This level should be advanced to ERROR in a future release, and eventually, the annotated APIs should become internal, ceasing to be part of the library's public API.

Once the APIs are made internal, make sure to drop those that are not used internally.

qurbonzoda avatar May 10 '24 12:05 qurbonzoda