Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cloud-bom #282

Merged
merged 1 commit into from Jul 27, 2021
Merged

Add cloud-bom #282

merged 1 commit into from Jul 27, 2021

Conversation

jpenilla
Copy link
Member

@jpenilla jpenilla commented Jul 27, 2021

Allows for declaring cloud versions in one spot, instead of needing to repeat it for every module. Also prevents version mismatches when used.

To use add a dependency on the bom:

Gradle:

dependencies {
    implementation(platform("cloud.commandframework:cloud-bom:VERSION"))
}

Maven:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>cloud.commandframework</groupId>
            <artifactId>cloud-bom</artifactId>
            <version>VERSION</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

and then dependencies on individual cloud modules can be declared without a version, and the version specified by the bom will be used.

@jpenilla jpenilla added the enhancement New feature or request label Jul 27, 2021
@jpenilla jpenilla changed the title Add a bom Add cloud-bom Jul 27, 2021
@jpenilla jpenilla merged commit b5e19ca into 1.6.0-dev Jul 27, 2021
@jpenilla jpenilla deleted the bom branch July 27, 2021 07:33
jpenilla added a commit that referenced this pull request Dec 2, 2021
jpenilla added a commit that referenced this pull request Dec 2, 2021
@zml2008 zml2008 added this to the 1.6.0 milestone Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants