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.
dependencies {
implementation(platform("com.intellectualsites.bom:bom-newest:<VERSION>"))
}
You can find more information about shared and managed dependencies with Gradle here.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.intellectualsites.bom</groupId>
<artifactId>bom-newest</artifactId>
<version>VERSION</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
Now you can declare dependencies without needing to specify a version:
dependencies {
compileOnly("org.checkerframework:checker-qual")
}
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
</dependency>
You can always override a version managed by the BOM if you wish.