Skip to content

Commit 63df38c

Browse files
authored
Merge pull request #222 from Smarteon/jimi/fix
fix: try to publish to new central
2 parents d589cf0 + 00245ce commit 63df38c

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

build.gradle.kts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ plugins {
1515
`maven-publish`
1616
jacoco
1717
id("pl.allegro.tech.build.axion-release") version "1.18.18"
18-
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
18+
id("org.danilopianini.publish-on-central") version "8.0.7"
1919
id("ru.vyarus.quality") version "6.0.1"
2020
kotlin("jvm") version "1.7.10"
2121
}
@@ -141,12 +141,15 @@ publishing {
141141
}
142142

143143
if (ossUser != null && ossPass != null) {
144-
nexusPublishing {
144+
publishOnCentral {
145+
repoOwner.set("Smarteon")
146+
projectDescription.set("Java implementation of the Loxone™ communication protocol (Web Socket)")
147+
licenseName.set("3-Clause BSD License")
148+
licenseUrl.set("https://opensource.org/licenses/BSD-3-Clause")
149+
145150
repositories {
146-
sonatype {
147-
username.set(ossUser)
148-
password.set(ossPass)
149-
}
151+
mavenCentral.user.set(ossUser)
152+
mavenCentral.password.set(ossPass)
150153
}
151154
}
152155
}

0 commit comments

Comments
 (0)