Add cloud-bom (#282)
This commit is contained in:
parent
1b485b9f79
commit
83a17da9a7
6 changed files with 62 additions and 32 deletions
|
|
@ -10,13 +10,6 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
indra {
|
indra {
|
||||||
publishSnapshotsTo("incendo", "https://repo.incendo.org/content/repositories/snapshots/")
|
|
||||||
|
|
||||||
github("Incendo", "cloud") {
|
|
||||||
ci(true)
|
|
||||||
}
|
|
||||||
mitLicense()
|
|
||||||
|
|
||||||
javaVersions {
|
javaVersions {
|
||||||
minimumToolchain(16)
|
minimumToolchain(16)
|
||||||
target(8)
|
target(8)
|
||||||
|
|
@ -24,19 +17,6 @@ indra {
|
||||||
}
|
}
|
||||||
|
|
||||||
checkstyle("8.39")
|
checkstyle("8.39")
|
||||||
|
|
||||||
configurePublications {
|
|
||||||
pom {
|
|
||||||
developers {
|
|
||||||
developer {
|
|
||||||
id.set("Sauilitired")
|
|
||||||
name.set("Alexander Söderberg")
|
|
||||||
url.set("https://alexander-soderberg.com")
|
|
||||||
email.set("contact@alexander-soderberg.com")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Disable checkstyle on tests */
|
/* Disable checkstyle on tests */
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
plugins {
|
||||||
|
id("net.kyori.indra.publishing")
|
||||||
|
}
|
||||||
|
|
||||||
|
signing {
|
||||||
|
val signingKey: String? by project
|
||||||
|
val signingPassword: String? by project
|
||||||
|
useInMemoryPgpKeys(signingKey, signingPassword)
|
||||||
|
}
|
||||||
|
|
||||||
|
indra {
|
||||||
|
publishSnapshotsTo("incendo", "https://repo.incendo.org/content/repositories/snapshots/")
|
||||||
|
|
||||||
|
github("Incendo", "cloud") {
|
||||||
|
ci(true)
|
||||||
|
}
|
||||||
|
mitLicense()
|
||||||
|
|
||||||
|
configurePublications {
|
||||||
|
pom {
|
||||||
|
developers {
|
||||||
|
developer {
|
||||||
|
id.set("Sauilitired")
|
||||||
|
name.set("Alexander Söderberg")
|
||||||
|
url.set("https://alexander-soderberg.com")
|
||||||
|
email.set("contact@alexander-soderberg.com")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
plugins {
|
|
||||||
id("cloud.base-conventions")
|
|
||||||
id("net.kyori.indra.publishing")
|
|
||||||
}
|
|
||||||
|
|
||||||
signing {
|
|
||||||
val signingKey: String? by project
|
|
||||||
val signingPassword: String? by project
|
|
||||||
useInMemoryPgpKeys(signingKey, signingPassword)
|
|
||||||
}
|
|
||||||
|
|
@ -8,8 +8,10 @@ version = "1.6.0-SNAPSHOT"
|
||||||
description = "Command framework and dispatcher for the JVM"
|
description = "Command framework and dispatcher for the JVM"
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
plugins.apply("cloud.base-conventions")
|
if (name != "cloud-bom") {
|
||||||
|
apply(plugin = "cloud.base-conventions")
|
||||||
|
}
|
||||||
if (!name.startsWith("example-")) {
|
if (!name.startsWith("example-")) {
|
||||||
plugins.apply("cloud.publishing")
|
apply(plugin = "cloud.publishing-conventions")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
25
cloud-bom/build.gradle.kts
Normal file
25
cloud-bom/build.gradle.kts
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
plugins {
|
||||||
|
`java-platform`
|
||||||
|
}
|
||||||
|
|
||||||
|
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))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -13,6 +13,8 @@ plugins {
|
||||||
|
|
||||||
rootProject.name = "cloud"
|
rootProject.name = "cloud"
|
||||||
|
|
||||||
|
include(":cloud-bom")
|
||||||
|
|
||||||
// Core Modules
|
// Core Modules
|
||||||
include(":cloud-core")
|
include(":cloud-core")
|
||||||
include(":cloud-services")
|
include(":cloud-services")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue