diff options
Diffstat (limited to 'value/processor/pom.xml')
-rw-r--r-- | value/processor/pom.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/value/processor/pom.xml b/value/processor/pom.xml index cedc5f08..a93c7765 100644 --- a/value/processor/pom.xml +++ b/value/processor/pom.xml @@ -230,6 +230,17 @@ <exclude>com.google.code.findbugs:jsr305</exclude> </excludes> </artifactSet> + <filters> + <filter> + <artifact>*:*</artifact> + <excludes> + <!-- Don't include kotlinx-metadata.kotlin_module, etc. We're shading those + libaries and they're only used from Java. Leaving them in the jar creates + "incompatible version" errors from the Kotlin compiler. --> + <exclude>META-INF/*.kotlin_module</exclude> + </excludes> + </filter> + </filters> <transformers> <!-- Needed to avoid "No MetadataExtensions instances found in the classpath" from Kotlin reflection. --> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |