Require java.compiler in yang-data-api 21/98221/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 29 Oct 2021 11:33:20 +0000 (13:33 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 29 Oct 2021 11:33:54 +0000 (13:33 +0200)
We are using immutables.org and allow @Generated to be emitted, hence
we need to ensure it is visible to users.

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

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