Skip to content

Commit bb16214

Browse files
authored
Remove Class-Path attribute from debug JAR (#3402)
Fixes #3361
1 parent 61ba10d commit bb16214

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

kotlinx-coroutines-debug/build.gradle

-12
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,6 @@ jar {
3434
setEnabled(false)
3535
}
3636

37-
// This is a rough estimation of what shadow plugin has been doing with our default configuration prior to
38-
// 1.6.2: https://github.com/johnrengelman/shadow/blob/1ff12fc816629ae5bc331fa3889c8ecfcaee7b27/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowJavaPlugin.groovy#L72-L82
39-
// We just emulate it here for backwards compatibility
40-
shadowJar.configure {
41-
def classpath = project.objects.fileCollection().from { ->
42-
project.configurations.findByName('runtimeClasspath')
43-
}
44-
doFirst {
45-
manifest.attributes 'Class-Path': classpath.collect { "${it.name}" }.findAll { it }.join(' ')
46-
}
47-
}
48-
4937
def shadowJarTask = shadowJar {
5038
classifier null
5139
// Shadow only byte buddy, do not package kotlin stdlib

0 commit comments

Comments
 (0)