Skip to content

Commit a9b8d47

Browse files
committed
build: re-added publishing section
1 parent cf9480c commit a9b8d47

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

build.gradle.kts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,44 @@ tasks.jacocoTestCoverageVerification {
7171
}
7272
}
7373

74+
publishing {
75+
publications {
76+
create<MavenPublication>("maven") {
77+
artifactId = "logback-gelf"
78+
from(components["java"])
79+
80+
pom {
81+
name = "Logback GELF"
82+
description = "Logback appender for sending GELF messages with zero additional dependencies."
83+
url = "https://github.com/osiegmar/logback-gelf"
84+
licenses {
85+
license {
86+
name = "GNU Lesser General Public License version 2.1"
87+
url = "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt"
88+
}
89+
}
90+
scm {
91+
url = "https://github.com/osiegmar/logback-gelf"
92+
connection = "scm:git:https://github.com/osiegmar/logback-gelf.git"
93+
}
94+
developers {
95+
developer {
96+
id = "osiegmar"
97+
name = "Oliver Siegmar"
98+
99+
}
100+
}
101+
}
102+
}
103+
}
104+
repositories {
105+
maven {
106+
name = "staging"
107+
url = uri(layout.buildDirectory.dir("staging-deploy"))
108+
}
109+
}
110+
}
111+
74112
jreleaser {
75113
project {
76114
gitRootSearch.set(true)

0 commit comments

Comments
 (0)