https://github.com/intellectualsites/bom
Bill of materials covering IntellectualSites Minecraft projects for third party consumption
https://github.com/intellectualsites/bom
Last synced: 4 months ago
JSON representation
Bill of materials covering IntellectualSites Minecraft projects for third party consumption
- Host: GitHub
- URL: https://github.com/intellectualsites/bom
- Owner: IntellectualSites
- License: mit
- Created: 2022-06-06T09:05:19.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T01:54:24.000Z (about 2 years ago)
- Last Synced: 2024-04-14T00:32:06.809Z (about 2 years ago)
- Homepage:
- Size: 514 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Bill of materials for IntellectualSites plugins
This repository implements a [Maven BOM](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies) which can be used in a plugin's build file to more easily manage dependencies on other common plugins.
# Usage
## Import the BOM
### Gradle
```kt
dependencies {
implementation(platform("com.intellectualsites.bom:bom-newest:"))
}
```
You can find more information about shared and managed dependencies with Gradle [here](https://docs.gradle.org/current/userguide/platforms.html).
### Maven
```xml
com.intellectualsites.bom
bom-newest
VERSION
import
pom
```
## Declaring dependencies
Now you can declare dependencies without needing to specify a version:
### Gradle
```kt
dependencies {
compileOnly("org.checkerframework:checker-qual")
}
```
### Maven
```xml
org.checkerframework
checker-qual
```
You can always override a version managed by the BOM if you wish.