Skip to content

IntellectualSites/bom

Repository files navigation

Bill of materials for IntellectualSites plugins

This repository implements a Maven BOM which can be used in a plugin's build file to more easily manage dependencies on other common plugins.

Usage

Import the BOM

Gradle

dependencies {
    implementation(platform("com.intellectualsites.bom:bom-newest:<VERSION>"))
}

You can find more information about shared and managed dependencies with Gradle here.

Maven

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>com.intellectualsites.bom</groupId>
            <artifactId>bom-newest</artifactId>
            <version>VERSION</version>
            <scope>import</scope>
            <type>pom</type>
        </dependency>
    </dependencies>
</dependencyManagement>

Declaring dependencies

Now you can declare dependencies without needing to specify a version:

Gradle

dependencies {
    compileOnly("org.checkerframework:checker-qual")
}

Maven

<dependency>
    <groupId>org.checkerframework</groupId>
    <artifactId>checker-qual</artifactId>
</dependency>

You can always override a version managed by the BOM if you wish.

About

Bill of materials covering IntellectualSites Minecraft projects for third party consumption

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project