1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-19 14:59:20 +00:00

Attempt to make publishing work

This commit is contained in:
Tim203
2021-12-08 22:47:47 +01:00
parent 90225e3ae4
commit 5a64c2d3d4
2 changed files with 23 additions and 13 deletions

View File

@@ -2,6 +2,7 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
`java-library`
`maven-publish`
id("floodgate.build-logic") apply false
// id("com.github.spotbugs") version "4.8.0" apply false
@@ -13,12 +14,13 @@ plugins {
id("io.freefair.lombok") version "6.3.0" apply false
}
allprojects {
subprojects {
// apply(plugin = "pmd")
// apply(plugin = "com.github.spotbugs")
apply {
plugin("java-library")
plugin("maven-publish")
plugin("com.github.johnrengelman.shadow")
plugin("io.freefair.lombok")
plugin("floodgate.build-logic")
@@ -54,4 +56,12 @@ allprojects {
options.encoding = Charsets.UTF_8.name()
}
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}
}