Don't publish example modules
This commit is contained in:
parent
c3163dba72
commit
3830016638
3 changed files with 13 additions and 7 deletions
|
|
@ -4,7 +4,6 @@ import org.cadixdev.gradle.licenser.header.HeaderStyle
|
|||
|
||||
plugins {
|
||||
id("net.kyori.indra")
|
||||
id("net.kyori.indra.publishing")
|
||||
id("net.kyori.indra.checkstyle")
|
||||
id("net.kyori.indra.license-header")
|
||||
id("net.ltgt.errorprone")
|
||||
|
|
@ -40,12 +39,6 @@ indra {
|
|||
}
|
||||
}
|
||||
|
||||
signing {
|
||||
val signingKey: String? by project
|
||||
val signingPassword: String? by project
|
||||
useInMemoryPgpKeys(signingKey, signingPassword)
|
||||
}
|
||||
|
||||
/* Disable checkstyle on tests */
|
||||
project.gradle.startParameter.excludedTaskNames.add("checkstyleTest")
|
||||
|
||||
|
|
|
|||
10
build-logic/src/main/kotlin/cloud.publishing.gradle.kts
Normal file
10
build-logic/src/main/kotlin/cloud.publishing.gradle.kts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
plugins {
|
||||
id("cloud.base-conventions")
|
||||
id("net.kyori.indra.publishing")
|
||||
}
|
||||
|
||||
signing {
|
||||
val signingKey: String? by project
|
||||
val signingPassword: String? by project
|
||||
useInMemoryPgpKeys(signingKey, signingPassword)
|
||||
}
|
||||
|
|
@ -9,4 +9,7 @@ description = "Command framework and dispatcher for the JVM"
|
|||
|
||||
subprojects {
|
||||
plugins.apply("cloud.base-conventions")
|
||||
if (!name.startsWith("example-")) {
|
||||
plugins.apply("cloud.publishing")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue