File tree Expand file tree Collapse file tree 6 files changed +6
-61
lines changed Expand file tree Collapse file tree 6 files changed +6
-61
lines changed Original file line number Diff line number Diff line change 4040 with :
4141 cache-read-only : true
4242 # Disable CC due to https://github.com/gradle/gradle/issues/22779
43- - run : ./gradlew publish --no-configuration-cache
43+ - run : ./gradlew publishToMavenCentral --no-configuration-cache
4444 env :
4545 ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.CENTRAL_PORTAL_USERNAME }}
4646 ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.CENTRAL_PORTAL_PASSWORD }}
Original file line number Diff line number Diff line change @@ -20,19 +20,11 @@ jobs:
2020 - uses : gradle/actions/setup-gradle@v4
2121 with :
2222 cache-read-only : true
23- - uses : actions/setup-node@v4
24- with :
25- # Due to some limitations of https://github.com/node-gradle/gradle-node-plugin.
26- node-version : ' 16'
2723 # Disable CC due to https://github.com/gradle/gradle/issues/22779
28- - run : ./gradlew release --no-configuration-cache
24+ - run : ./gradlew publishToMavenCentral publishPlugins --no-configuration-cache
2925 env :
3026 GRADLE_PUBLISH_KEY : ${{ secrets.GRADLE_KEY }}
3127 GRADLE_PUBLISH_SECRET : ${{ secrets.GRADLE_SECRET }}
32- # We must declare repository_owner as the user, workaround for https://github.com/ajoberstar/gradle-git-publish/issues/109.
33- GRGIT_USER : ${{ github.repository_owner }}
34- # https://ajoberstar.org/grgit/main/grgit-authentication.html#_environment_variables
35- GRGIT_PASS : ${{ secrets.GITHUB_TOKEN }}
3628 ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.CENTRAL_PORTAL_USERNAME }}
3729 ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.CENTRAL_PORTAL_PASSWORD }}
3830 ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.GPG_KEY }}
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ repositories {
88}
99
1010dependencies {
11- implementation(" com.gradle.publish:plugin-publish-plugin:1.3.0" )
12- implementation(" com.vanniktech:gradle-maven-publish-plugin:0.30.0" )
13- implementation(" org.ajoberstar.git-publish:gradle-git-publish:4.2.2" )
14- implementation(" com.github.node-gradle:gradle-node-plugin:7.1.0" )
11+ implementation(" com.gradle.publish:plugin-publish-plugin:1.3.1" )
12+ implementation(" com.vanniktech:gradle-maven-publish-plugin:0.32.0" )
1513}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ plugins {
22 groovy
33 `java- gradle- plugin`
44 id(" shadow.convention.publish" )
5- id(" shadow.convention.deploy" )
6- id(" com.diffplug.spotless" ) version " 7.0.0.BETA4"
5+ id(" com.diffplug.spotless" ) version " 7.0.4"
76}
87
98java {
@@ -71,10 +70,3 @@ tasks.withType<Test>().configureEach {
7170 " java.base/java.net=ALL-UNNAMED" ,
7271 )
7372}
74-
75- tasks.register(" release" ) {
76- dependsOn(
77- tasks.publish,
78- tasks.publishPlugins,
79- )
80- }
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ pluginManagement {
88}
99
1010plugins {
11- id(" com.gradle.develocity" ) version " 3.18 .2"
11+ id(" com.gradle.develocity" ) version " 4.0 .2"
1212}
1313
1414develocity {
You can’t perform that action at this time.
0 commit comments