mirror of
https://github.com/google/nomulus
synced 2026-09-19 14:34:18 +00:00
Build uber jars as multi-release (#2549)
Several jars in our dependencies are now multi-release, including dnsjava and snakeyaml, and a few more. Such jars include jvm-version-specific classes that will only be loaded by the vm that can handle them. All it takes is a new manifest attribute. This change allows us to upgrade to dnsjava3.6+: the base (java 8) version of this jar breaks java21. The correct manifest allows java21 to find the classes it needs.
This commit is contained in:
@@ -176,7 +176,7 @@ commons-codec:commons-codec:1.17.1=compileClasspath,runtimeClasspath,testCompile
|
||||
commons-dbutils:commons-dbutils:1.8.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
commons-io:commons-io:2.16.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
commons-logging:commons-logging:1.2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
dnsjava:dnsjava:3.5.3=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
dnsjava:dnsjava:3.6.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
io.apicurio:apicurio-registry-protobuf-schema-utilities:3.0.0.M2=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
io.github.classgraph:classgraph:4.8.162=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
|
||||
io.github.java-diff-utils:java-diff-utils:4.12=runtimeClasspath,testRuntimeClasspath
|
||||
|
||||
Reference in New Issue
Block a user