runtimeOnly

abstract val runtimeOnly: DependencyCollector

Add a dependency to the commonMain source set's runtimeOnly configuration.

runtimeOnly-scoped dependencies apply only at runtime and aren't visible during compilation. Gradle includes them in the runtime of library consumers but doesn't export them for compilation.