Convert mdsal-dom-spi to a JPMS module
[mdsal.git] / dom / mdsal-dom-spi / src / main / java / module-info.java
diff --git a/dom/mdsal-dom-spi/src/main/java/module-info.java b/dom/mdsal-dom-spi/src/main/java/module-info.java
new file mode 100644 (file)
index 0000000..beb30cb
--- /dev/null
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+module org.opendaylight.mdsal.dom.spi {
+    exports org.opendaylight.mdsal.dom.spi;
+    exports org.opendaylight.mdsal.dom.spi.query;
+    exports org.opendaylight.mdsal.dom.spi.shard;
+    exports org.opendaylight.mdsal.dom.spi.store;
+
+    requires transitive org.opendaylight.mdsal.dom.api;
+    requires org.opendaylight.yangtools.util;
+
+    // Annotations
+    requires static transitive org.eclipse.jdt.annotation;
+    requires static com.github.spotbugs.annotations;
+}