Skip to content

xenoterracide/version-catalog-spring-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Usage

// settings.gradle.kts
dependencyResolutionManagement {
    versionCatalogs {
        create("sb") {
            from("com.xenoterracide.gradle.vc:version-catalog-spring-boot:3.5.0")
        }
    }
}
// build.gradle.kts
dependencies {
    // or however you want we aren't generating the BOM.
    implementation(platform("org.springframework.boot:spring-boot-dependencies:3.5.0"))
    implementation(sb.spring.boot.starter.data.jpa.test)
}

See the version catalog documentation for more details.

Available libraries can be found in the Spring Boot documentation. Since this catalog does not supply versions, you must still use the spring-boot-dependencies BOM.

FAQ

Versions

The major and minor versions of this catalog align with the Spring Boot version. The patch version is incremented for updates to the catalog itself.

Gradle Support

Gradle 7.2 or later is required. Stable support for version catalogs was introduced in Gradle 7.4.

Development

Languages

asdf is suggested, you can use whatever you'd like to get

  • Java 17+
  • NodeJs
  • Python 3.11+

add a way to export these to your PATH in your ~/.profile

if you have asdf installed, you can run asdf install to install the versions`

Build Tools

Fetching Dependencies

Yarn setup and manual postinstall:

# Enable Corepack, install Node dev tools, run postinstall, then verify Gradle deps
corepack enable
yarn install --immutable --inline-builds --check-resolutions
yarn run -T postinstall
./gradlew dependencies

If you need to run the postinstall step directly, you can recreate and use the Python lock file via pip-compile (PEP 621):

# Regenerate requirements.txt from PEP 621 dependencies in pyproject.toml
pip-compile -o requirements.txt pyproject.toml

# Then install and set up commit hooks
pip install -r requirements.txt && git config core.hooksPath .config/git/hooks

Committing

Use Conventional Commits.

Releasing

git tag -m "v0.12.1" -a v0.12.1 && git push --tags

License

All licenses are documented explicitly using SPDX identifiers in their file

Copyright © 2024 - 2025 Caleb Cushing

Packages

 
 
 

Languages