Skip to content

Commit 2fb259c

Browse files
committed
Fine tuning contents of symbol-processing.jar
ShadowJar picks up the `compile` configuration by default and pulls stdlib in (when using `from` without changing `configurations`).
1 parent 007e2ec commit 2fb259c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

symbol-processing/build.gradle.kts

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ dependencies {
1616

1717
tasks.withType<ShadowJar>() {
1818
archiveClassifier.set("")
19-
from(packedJars)
19+
// ShadowJar picks up the `compile` configuration by default and pulls stdlib in.
20+
// Therefore, specifying another configuration instead.
21+
configurations = listOf(packedJars)
2022
relocate("com.intellij", "org.jetbrains.kotlin.com.intellij")
2123
}
2224

0 commit comments

Comments
 (0)