Knotx / knotx-dependencies

Dependencies defines the versions of the Knot.x components and required dependencies (in BOM fashion)
https://knotx.io
Apache License 2.0
2 stars 5 forks source link
bill-of-materials bom dependencies knotx pom

Build Status Gradle Status

Knot.x Dependencies

Use in your project

This project is a Bill of Materials for Knot.x projects. It specifies external dependencies versions.

To import it, simply include it in your project dependencies as a platform:

implementation(platform("io.knotx:knotx-dependencies:${project.version}"))

Then use deps without versions and the BOM logic will resolve the versions accordingly, e.g.

testImplementation("org.junit.jupiter:junit-jupiter-api")

To use it in a composite build include it in your settings.gradle.kts first:

includeBuild("../knotx-dependencies")

The build task (or any other main task you depend on) of your project should be executed after building the knotx-dependencies module. Add this snippet to your build.gradle.kts:

tasks {
    named("build") {
        dependsOn(gradle.includedBuild("knotx-dependencies").task(":build"))
    }
}