File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 4242 run : ./gradlew clean build
4343
4444 - name : Publish package
45- run : ./gradlew publishToSonatype
45+ run : ./gradlew publishToCentralPortal
4646 env :
47- SONATYPE_USERNAME : ${{ secrets.NEXUS_USERNAME }}
48- SONATYPE_PASSWORD : ${{ secrets.NEXUS_PASSWORD }}
47+ USERNAME : ${{ secrets.NEXUS_USERNAME }}
48+ PASSWORD : ${{ secrets.NEXUS_PASSWORD }}
Original file line number Diff line number Diff line change 1+ import net.thebugmc.gradle.sonatypepublisher.PublishingType
2+
13plugins {
24 id(" java-library" )
3- id(" eu.kakde .gradle.sonatype-maven- central-publisher" ) version " 1.0.6 "
5+ id(" net.thebugmc .gradle.sonatype-central-portal- publisher" ) version " 1.2.4 "
46 id(" maven-publish" )
57 id(" signing" )
68}
@@ -76,12 +78,8 @@ publishing {
7678 }
7779}
7880
79- sonatypeCentralPublishExtension {
80- groupId.set(project.group.toString())
81- artifactId.set(" keepassxc-proxy-access" )
82- version.set(project.version.toString())
83- componentType.set(" java" )
84- publishingType.set(" USER_MANAGED" )
81+ centralPortal {
82+ publishingType.set(PublishingType .USER_MANAGED )
8583
8684 username.set(sonatypeUsername)
8785 password.set(sonatypePassword)
You can’t perform that action at this time.
0 commit comments