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 40
40
with :
41
41
cache-read-only : true
42
42
# 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
44
44
env :
45
45
ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.CENTRAL_PORTAL_USERNAME }}
46
46
ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.CENTRAL_PORTAL_PASSWORD }}
Original file line number Diff line number Diff line change @@ -20,19 +20,11 @@ jobs:
20
20
- uses : gradle/actions/setup-gradle@v4
21
21
with :
22
22
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'
27
23
# 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
29
25
env :
30
26
GRADLE_PUBLISH_KEY : ${{ secrets.GRADLE_KEY }}
31
27
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 }}
36
28
ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.CENTRAL_PORTAL_USERNAME }}
37
29
ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.CENTRAL_PORTAL_PASSWORD }}
38
30
ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.GPG_KEY }}
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ repositories {
8
8
}
9
9
10
10
dependencies {
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" )
15
13
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ plugins {
2
2
groovy
3
3
`java- gradle- plugin`
4
4
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"
7
6
}
8
7
9
8
java {
@@ -71,10 +70,3 @@ tasks.withType<Test>().configureEach {
71
70
" java.base/java.net=ALL-UNNAMED" ,
72
71
)
73
72
}
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 {
8
8
}
9
9
10
10
plugins {
11
- id(" com.gradle.develocity" ) version " 3.18 .2"
11
+ id(" com.gradle.develocity" ) version " 4.0 .2"
12
12
}
13
13
14
14
develocity {
You can’t perform that action at this time.
0 commit comments