File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
143143if (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}
You can’t perform that action at this time.
0 commit comments