Add a module descriptor for the entire library

This commit is contained in:
Kai S. K. Engelbart 2020-09-08 17:06:45 +02:00
parent bdf7dcfeda
commit 5f88ad6095
Signed by: kske
GPG Key ID: 8BEB13EC5DF7EF13
2 changed files with 26 additions and 1 deletions

15
pom.xml
View File

@ -5,7 +5,7 @@
<groupId>dev.kske</groupId>
<artifactId>event-bus</artifactId>
<version>0.0.2</version>
<version>0.0.3</version>
<name>Event Bus</name>
<description>An event handling framework for Java utilizing annotations.</description>
@ -45,9 +45,21 @@
</properties>
<build>
<!-- Disable resource folders -->
<resources />
<testResources />
<plugins>
<!-- Support Java 9 modules -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
</plugin>
<!-- Attach sources and Javadoc to JAR -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
@ -72,6 +84,7 @@
</execution>
</executions>
</plugin>
</plugins>
</build>

View File

@ -0,0 +1,12 @@
/**
* Contains the public API and implementation of the event bus library.
*
* @author Kai S. K. Engelbart
* @since 0.0.3
* @see dev.kske.eventbus.Event
* @see dev.kske.eventbus.EventBus
*/
module dev.kske.eventbus {
exports dev.kske.eventbus;
}