- Change the version in
gradle.properties
to a non-SNAPSHOT version - Update the
CHANGELOG.md
for the new release - Update the
README.md
with the new version git checkout -b release-X.Y.Z
(where X.Y.Z is the new version)git commit -am "Release X.Y.Z"
git push
; make a PR; merge PRgit checkout main && git pull
git tag -a X.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version)- Update the
gradle.properties
to the next SNAPSHOT version (increment patch by 1, e.g.1.0.0
→1.0.1-SNAPSHOT
) git commit -am "Prepare next development version"
git push && git push --tags
- Visit the GitHub releases page and create a new release, copying the changelog from
CHANGELOG.md
- Visit the Jitpack site and check that the new release shows up
- Run
./gradlew publishToMavenLocal
. - In the other project, add
mavenLocal()
as a repository (likely inallProjects.repositories
of the rootbuild.gradle
file). - Update
com.ryanmoelter.magellanx:magellanx-compose:X.Y.Z
tocom.ryanmoelter.magellanx:magellanx-compose:SNAPSHOT_VERSION
, whereSNAPSHOT_VERSION
is theVERSION_NAME
defined in this project's./gradle.properties
.
the Jitpack site provides builds for each branch. They take a while to build, so for quick iteration I recommend using mavenLocal
as shown above.
- Push a branch to this repo
- Update your dependency version to
{branch-name}-SNAPSHOT
, where{branch-name}
is your branch's name - Wait for Jitpack to build, which might take ~10 minutes