Skip to content

Commit

Permalink
Add cloud-minecraft-bom (#27)
Browse files Browse the repository at this point in the history
Add bom
  • Loading branch information
jpenilla authored Jan 25, 2024
1 parent 473a963 commit 9d55d0e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions cloud-minecraft-bom/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
plugins {
`java-platform`
id("conventions.publishing")
}

indra {
configurePublications {
from(components["javaPlatform"])
}
}

dependencies {
constraints {
for (subproject in rootProject.subprojects) {
if (subproject == project) { // the bom itself
continue
}

if (subproject.name.startsWith("example-")) {
continue
}

api(project(subproject.path))
}
}
}
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ dependencyResolutionManagement {

rootProject.name = "cloud-minecraft"

include("cloud-minecraft-bom")

include("cloud-brigadier")
include("cloud-bukkit")
include("cloud-bungee")
Expand Down

0 comments on commit 9d55d0e

Please sign in to comment.