Skip to content

Commit ddad1e9

Browse files
committed
simpler publishing
1 parent 1fbfdc9 commit ddad1e9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ plugins {
44
id("maven-publish")
55
id("signing")
66
id("com.github.ben-manes.versions") version ("0.38.0")
7+
id("io.github.gradle-nexus.publish-plugin") version ("1.1.0")
78
}
89

910
val projectGroupId: String by project
@@ -170,3 +171,12 @@ signing {
170171

171172
sign(publishing.publications["OpenApiProcessor"])
172173
}
174+
175+
nexusPublishing {
176+
repositories {
177+
sonatype {
178+
username.set(project.extra["publishUser"].toString())
179+
password.set(project.extra["publishKey"].toString())
180+
}
181+
}
182+
}

0 commit comments

Comments
 (0)