Last active
April 13, 2021 11:20
-
-
Save michael-simons/f34718e05e287896b3d0fcc165fb7e1f to your computer and use it in GitHub Desktop.
Who said it is hard to run Spring applications on modules?
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
module neo4jonmodules { | |
requires spring.beans; | |
requires spring.boot; | |
requires spring.boot.autoconfigure; | |
requires spring.data.neo4j; | |
// Well, the object mapper uses reflection, little surprising | |
opens com.example.cypherdsljava11test to spring.core; | |
// And yep, if we want to create beans from that package, it must be exported | |
exports com.example.cypherdsljava11test to spring.beans, spring.context, spring.data.commons; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment