Skip to content

Commit 32bdaa5

Browse files
committed
GROOVY-8332: Packaging issue for Antlr4-related jars
1 parent ce548dc commit 32bdaa5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gradle/assemble.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,10 @@ allprojects {
185185
file.name.startsWith(it)
186186
} && ['asm-attr', 'asm-util', 'asm-analysis'].every { !file.name.startsWith(it) }
187187
}.each { jarjarFile ->
188-
// GROOVY-7386 : excludes needed below to stop copy of incorrect maven meta info
189-
zipfileset(src: jarjarFile, excludes: 'META-INF/maven/commons-cli/commons-cli/*,META-INF/*')
188+
// explanation of excludes:
189+
// GROOVY-7386: stop copy of incorrect maven meta info
190+
// GROOVY-8332: stop copy of annotation processor which is for some reason included in antlr runtime artifact
191+
zipfileset(src: jarjarFile, excludes: 'META-INF/maven/commons-cli/commons-cli/*,META-INF/*,META-INF/services/javax.annotation.processing.Processor')
190192
}
191193

192194
zipfileset(src: configurations.runtime.files.find { file -> file.name.startsWith('asm-util') },

0 commit comments

Comments
 (0)