From c72fcf089c575fc1fb799222234809ce28ff5c09 Mon Sep 17 00:00:00 2001 From: 0xera <56160164+0xera@users.noreply.github.com> Date: Mon, 23 Sep 2024 18:41:50 +0300 Subject: [PATCH] add dependencies from grease configuration to compileOnly --- .../src/main/kotlin/io/deepmedia/tools/grease/configurations.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grease/src/main/kotlin/io/deepmedia/tools/grease/configurations.kt b/grease/src/main/kotlin/io/deepmedia/tools/grease/configurations.kt index abf86fe..c5f166c 100644 --- a/grease/src/main/kotlin/io/deepmedia/tools/grease/configurations.kt +++ b/grease/src/main/kotlin/io/deepmedia/tools/grease/configurations.kt @@ -80,7 +80,7 @@ private fun Project.createGrease(name: String, isTransitive: Boolean): Configura } configurations.configureEach { val other = this - if (other.name == nameOf(name, "compileClasspath")) { + if (other.name == nameOf(name, "compileOnly")) { other.extendsFrom(configuration) } }