Skip to content

Set up Standalone Gradle Build#2

Open
stephen-rma wants to merge 5 commits intoDOI-BOR:mainfrom
stephen-rma:standalone-build
Open

Set up Standalone Gradle Build#2
stephen-rma wants to merge 5 commits intoDOI-BOR:mainfrom
stephen-rma:standalone-build

Conversation

@stephen-rma
Copy link

These changes restore the ability to build the Git library standalone, as well as bringing it up to more modern Gradle standards.

In the original build, much of the common logic between WTMP components was shared in the parent project. As the layout of the project has changed to separate out the components, move that common logic into conventions files which can be more easily shared between projects.

This also breaks down the common shared logic into separate files based on separate concerns-- Dependency management, Java configuration, publishing settings, and version information. These files can be shared between other components with minimal or no changes.
Version catalog allows a cental location for all dependencies to be stored. In addition to this, remove any logic that was pulled out into the conventions files, and reference those instead.
Most Gradle projects include a wrapper for faster boostrapping and framework version consistency. This was a part of the parent project previously, include it as part of the Git project directly now.
Using this file, the Git library can be included in a composite build with the right boostrapping code to reference the file.

This allows combining multiple separate Gradle builds into a single environment easily, which makes cross-cutting changes much simpler, and allows building libraries cohesively.
@stephen-rma stephen-rma changed the title WIP: Set up Standalone Gradle Build Set up Standalone Gradle Build Jan 28, 2026
@stephen-rma stephen-rma marked this pull request as ready for review January 28, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant