Skip to content

Decouple samples from repo dependencies, depend on published library versions instead #299

Open
@SebastianAigner

Description

@SebastianAigner

Howdy! 🤠

Currently, examples depend on the surrounding project:

implementation(project(":kotlinx-benchmark-runtime"))

This makes them a less useful reference for people trying to figure out how to set up kx.benchmark in their own project than they could potentially be.

Given that there's plenty of people who are quite proficient in Kotlin and want to be able to benchmark their code, but who aren't as comfortable in configuring Gradle, it would be great to have the samples depend on the library versions that are available on Maven Central instead, so that their configurations build.gradle.kts etc are more copy-pastable and usable as direct references.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions