api

abstract val api: DependencyCollector

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

api-scoped dependencies apply during compilation and runtime. Gradle exports them to both the compilation and runtime of library consumers.