I have a two spring boot applications. Each application is setup as a separate eclipse project. Let's call them project A and project B. I also have another project C that contains domain classes. Project A and B need to use project C. All projects are in the same eclipse (Mars.1 Release 4.5.1) workspace.
Per this post and this link, I have
- Created a pom.xml at the root of project C and typed mvn install
- I have checked "Remap Jars to maven projects", "Remap Jars to Gradle Projects", and "Use Custom Tooling Model" under Window -> Preferences -> Gradle
- From the context menu for each project, clicked Gradle -> Enable Dependency Management.
- From the context menu for each project, clicked Gradle -> Refresh Dependencies.
After making changes to a domain class in project C and clean and build project C, I clean, build and bootRun project A or B and notice that the changes in project C are not present.
How can I properly configure remapping of jars to gradle projects so that changes in project C are reflected in A and B without having to reinstall to the local maven repo?
I'm using SpringSource Tool Suite Gradle Integration 3.7.2.