File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
gradle/plugins/publishing/src/main/kotlin Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -162,12 +162,11 @@ jobs:
162
162
env :
163
163
ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
164
164
ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
165
+ JRELEASER_MAVENCENTRAL_STAGE : PUBLISH
166
+ JRELEASER_MAVENCENTRAL_DEPLOYMENT_ID : ${{ inputs.deploymentId }}
165
167
with :
166
168
encryptionKey : ${{ secrets.GRADLE_ENCRYPTION_KEY }}
167
- arguments : |
168
- jreleaserDeploy \
169
- -Pjreleaser.mavencentral.stage=PUBLISH \
170
- -Pjreleaser.mavencentral.deployment.id=${{ github.event.inputs.deploymentId }}
169
+ arguments : jreleaserDeploy
171
170
172
171
publish_documentation :
173
172
name : Publish documentation
Original file line number Diff line number Diff line change @@ -38,12 +38,14 @@ jreleaser {
38
38
username = mavenCentralUsername
39
39
password = mavenCentralPassword
40
40
stagingRepository(tempRepoDir.absolutePath)
41
- applyMavenCentralRules = true
41
+ applyMavenCentralRules = false
42
+ sourceJar = false
43
+ javadocJar = false
42
44
sign = false
43
45
checksums = false
44
46
verifyPom = false
45
47
namespace = " org.junit"
46
- stage = providers.gradleProperty( " jreleaser.mavencentral.stage " )
48
+ stage = providers.environmentVariable( " JRELEASER_MAVENCENTRAL_STAGE " )
47
49
.map(Stage ::of)
48
50
.orElse(Stage .UPLOAD )
49
51
}
You can’t perform that action at this time.
0 commit comments