jfrog / build-info

Artifactory's open integration layer for CI build servers
https://www.buildinfo.org
Apache License 2.0
148 stars 156 forks source link

Gradle - Publish bom files when 'java-platform' plugin applied #680

Closed yahavi closed 1 year ago

yahavi commented 1 year ago

Fix https://github.com/jfrog/jfrog-cli/issues/1496

When the java-platform plugin is applied, add the following publication in CI mode:

publications {
    mavenJavaPlatform(MavenPublication) {
        from components.javaPlatform
    }
}