THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Add a geode-foo directory, parallel with all of the rest of the geode-XXX directories.
- Add a build.gradle file in the geode-foo directory.
- You will probably want to copy from an existing build.gradle file, for example geode-tcp-server. Remove the dependencies you don't need
- Add geode-foo to geode/settings.gradle
- Add geode-foo as a dependency in geode-core/build.gradle. Generally, you want this to be an implementation dependency, unless the module has *public* API classes that users of geode-core's public API will need to access. Implementation means that it will not be part of the compile time classpath for consumers of geode-core.
e.g. implementation(project(':geode-tcp-server')) - Add geode-foo to TomcatInstall's list of jars
- Add geode-foo to to modify_war
- Add your module into the geode-assembly/build.gradle
- After you’ve added all those dependencies you have to run this command to update the expected POMs that will be uploaded to maven central
- ./gradlew updateExpectedPom
- note if you have to rebase during the time it takes to create your new module you may need to re-run this command
- Now you should be able to build, unless you have missed adding your module to that module needing it:
e.g. geode-foo2's
build.gradle
:implementation(project(':geode-tcp-server'))
- Make these two tests pass:
- GeodeDependencyJarIntegrationTest
- AssemblyContentsIntegrationTest