Skip to content

Commit 9f3bcb2

Browse files
committed
Update to latst spring-security-release-tools
1 parent 992f8b3 commit 9f3bcb2

File tree

5 files changed

+4
-27
lines changed

5 files changed

+4
-27
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
deploy-artifacts:
2525
name: Deploy Artifacts
2626
needs: [ build ]
27-
uses: spring-io/spring-security-release-tools/.github/workflows/deploy-artifacts.yml@9204ad4f96d2504e7e0a432d6eacd64f32011ec7 # testing central release
27+
uses: spring-io/spring-security-release-tools/.github/workflows/deploy-artifacts.yml@1
2828
with:
2929
should-deploy-artifacts: ${{ needs.build.outputs.should-deploy-artifacts }}
3030
secrets: inherit

build.gradle

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
plugins {
2-
id "io.spring.security.release" version "1.0.1"
3-
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
2+
id "io.spring.security.release" version "1.0.7"
43
}
54

65
group = 'org.springframework.experimental.boot'
@@ -16,21 +15,3 @@ springRelease {
1615
releaseVersionPrefix = "v"
1716
}
1817

19-
nexusPublishing {
20-
repositories {
21-
ossrh {
22-
nexusUrl = uri("https://s01.oss.sonatype.org/service/local/")
23-
snapshotRepositoryUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
24-
stagingProfileId = '2a29ff48cbb4b'
25-
}
26-
}
27-
}
28-
29-
tasks.register('finalizeDeployArtifacts') {
30-
group = 'Publishing'
31-
description = 'Automatically close and release staging repositories when required based on the version'
32-
}
33-
34-
if (!project.version.contains('-')) {
35-
project.tasks.finalizeDeployArtifacts.dependsOn 'closeAndReleaseOssrhStagingRepository'
36-
}

buildSrc/src/main/groovy/publish-conventions.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,3 @@ publishing {
3232
}
3333
}
3434
}
35-
36-
if (!project.version.contains('-')) {
37-
project.tasks.publishArtifacts.dependsOn 'publishToOssrh'
38-
}

spring-boot-testjars-maven/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id'java-library'
33
id'checkstyle'
44
id'io.spring.javaformat' version'0.0.27'
5-
id "io.spring.security.maven" version "1.0.1"
5+
id "io.spring.security.maven" version "1.0.7"
66
id 'publish-conventions'
77
}
88

spring-boot-testjars/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id'java'
33
id'checkstyle'
44
id'io.spring.javaformat' version'0.0.27'
5-
id "io.spring.security.maven" version "1.0.1"
5+
id "io.spring.security.maven" version "1.0.7"
66
id 'publish-conventions'
77
}
88

0 commit comments

Comments
 (0)