diff options
Diffstat (limited to 'value/processor/pom.xml')
-rw-r--r-- | value/processor/pom.xml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/value/processor/pom.xml b/value/processor/pom.xml index 6999c477..a93c7765 100644 --- a/value/processor/pom.xml +++ b/value/processor/pom.xml @@ -41,7 +41,7 @@ <properties> <auto-service.version>1.1.1</auto-service.version> - <errorprone.version>2.20.0</errorprone.version> + <errorprone.version>2.21.1</errorprone.version> </properties> <dependencies> @@ -81,7 +81,7 @@ <dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-metadata-jvm</artifactId> - <version>0.6.2</version> + <version>0.7.0</version> </dependency> <dependency> <groupId>org.ow2.asm</groupId> @@ -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"/> |