Skip to content

Commit 1869273

Browse files
committed
runtime dependencies registered as api dependency (closes #10)
1 parent 4eac9cd commit 1869273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kapshot-plugin-gradle/src/main/kotlin/io/koalaql/kapshot/GradlePlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class GradlePlugin : KotlinCompilerPluginSupportPlugin {
2222
override fun apply(target: Project) {
2323
/* make sure we don't try to add dependency until it has been configured by kotlin plugin */
2424
target.plugins.withId("org.jetbrains.kotlin.jvm") {
25-
target.dependencies.add("implementation", "io.koalaql:kapshot-runtime:${BuildConfig.VERSION}")
25+
target.dependencies.add("api", "io.koalaql:kapshot-runtime:${BuildConfig.VERSION}")
2626
}
2727
}
2828

0 commit comments

Comments
 (0)