Fix a requires warning 17/111317/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 8 Apr 2024 01:33:41 +0000 (03:33 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 8 Apr 2024 01:34:37 +0000 (03:34 +0200)
We are using Immutables for the default implementation, which leaks the
dependency. We should therefore import it transitively.

Change-Id: Ib9493744b0617c2ee7193cc3b6ff692e59ec6b57
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
data/yang-data-api/src/main/java/module-info.java

index 55f01a1fa2fd460a180c3a4d6a001548272db341..279be9aafbf0f212823cd49be8ecb5057f585116 100644 (file)
@@ -24,6 +24,6 @@ module org.opendaylight.yangtools.yang.data.api {
     // Annotations
     requires static transitive java.compiler;
     requires static transitive org.eclipse.jdt.annotation;
+    requires static transitive org.immutables.value.annotations;
     requires static com.github.spotbugs.annotations;
-    requires static org.immutables.value.annotations;
 }