The jpms-directory-watcher repository is dedicated to making the directory-watcher module compliant with the Java Platform Module System (JPMS). This compliance ensures that the directory-watcher library can be seamlessly integrated into modular Java applications, leveraging the benefits of JPMS such as improved encapsulation, security, and maintainability.
- JPMS Compliance: The library is packaged as a JPMS module, enabling better encapsulation and dependency management in Java projects.
- Ease of Use: Simple integration into projects using JPMS.
- Java 11 or higher: JPMS was introduced in Java 9, so a minimum of Java 11 is recommended for compatibility and support.
- Maven or Gradle: For dependency management and building the project.
Add the following dependency to your pom.xml:
<dependency>
<groupId>dev.ikm.jpms</groupId>
<artifactId>directory-watcher</artifactId>
<version>${latest-jpms-directory-watcher-version}</version>
</dependency>
Add the following dependency to your build.gradle:
implementation 'dev.ikm.jpms:directory-watcher:${latest-jpms-directory-watcher-version}'
In your module descriptor (module-info.java), declare the dependency on the jpms-directory-watcher module:
module your.module.name {
requires dev.ikm.jpms.directory.watcher;
}
Technical and non-technical issues can be reported to the Issue Tracker.
Contributions can be submitted via pull requests. Please check the contribution guide for more details.