forked from ben-manes/caffeine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add module descriptor while maintaining Eclipse IDE experience
* Fixes ben-manes#535 * Uses Gradle Eclipse plugin to define add-reads options which satisfy Eclipse and make the project buildable through it in Eclipse 2021-03 Only the core caffeine module was eligible for a full module descriptor considering the circumstances: * A descriptor was not added to caffeine-guava because some of its tests rely on split packages in order to acccess Guava's package-private types. Ensuring a smooth experience in Eclipse IDE requires resolving these split packages. * The other modules still have some dependencies on filename-based modules, so it would be unwise to add module descriptors for them.
- Loading branch information
Showing
4 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
module com.github.benmanes.caffeine { | ||
exports com.github.benmanes.caffeine.cache; | ||
exports com.github.benmanes.caffeine.cache.stats; | ||
|
||
requires static transitive org.checkerframework.checker.qual; | ||
requires static transitive com.google.errorprone.annotations; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters