Add a module descriptor for the entire library
This commit is contained in:
parent
bdf7dcfeda
commit
5f88ad6095
15
pom.xml
15
pom.xml
@ -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>
|
||||
|
||||
|
12
src/main/java/module-info.java
Normal file
12
src/main/java/module-info.java
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user