Skip to content
Open

Add BOM #1915

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions bom/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
plugins {
id("java-platform")
id("maven-publish")
}

description = "BouncyCastle Bill of Materials (BOM)"

dependencies {
constraints {
api(project(":core"))
api(project(":util"))
api(project(":pg"))
api(project(":pkix"))
api(project(":prov"))
api(project(":tls"))
api(project(":test"))
api(project(":mls"))
api(project(":mail"))
api(project(":jmail"))
}
}

publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'org.bouncycastle'
artifactId = "bc-bom-$vmrange"
from components.javaPlatform
}
}
}
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ ext {
// this needs to go here, otherwise it can't find config
apply plugin: 'io.spring.nohttp'

allprojects {
configure(allprojects.findAll {it.name != 'bom'}) {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'checkstyle'
Expand Down Expand Up @@ -183,8 +183,7 @@ ext {

}


subprojects {
configure(subprojects.findAll {it.name != 'bom'}) {
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include "bom"
include "core"
include "util"
include "pg"
Expand Down