Skip to content

Commit 053347a

Browse files
Add Spring Security Release Plugin
Issue gh-2712
1 parent c8110b4 commit 053347a

File tree

4 files changed

+36
-14
lines changed

4 files changed

+36
-14
lines changed

build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ buildscript {
2525
}
2626

2727
apply plugin: 'io.spring.convention.root'
28+
apply plugin: 'io.spring.security.release'
2829

2930
group = 'org.springframework.session'
3031
description = 'Spring Session'
@@ -46,3 +47,13 @@ nohttp {
4647
source.exclude "spring-session-docs/.gradle/nodejs/**"
4748
source.exclude "spring-session-docs/modules/ROOT/examples/**/build/**"
4849
}
50+
51+
springRelease {
52+
repositoryOwner = "spring-projects"
53+
repositoryName = "spring-session"
54+
weekOfMonth = 3
55+
dayOfWeek = 2
56+
referenceDocUrl = "https://docs.spring.io/spring-session/reference/{version}/index.html"
57+
apiDocUrl = "https://docs.spring.io/spring-session/docs/{version}/api/"
58+
replaceSnapshotVersionInReferenceDocUrl = true
59+
}

buildSrc/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ plugins {
44
id "groovy"
55
}
66

7-
sourceCompatibility = JavaVersion.VERSION_11
7+
sourceCompatibility = JavaVersion.VERSION_17
88

99
repositories {
1010
jcenter()
1111
gradlePluginPortal()
1212
mavenCentral()
1313
maven { url 'https://repo.spring.io/plugins-release/' }
14+
maven { url 'https://repo.spring.io/snapshot' }
1415
}
1516

1617
sourceSets {
@@ -74,6 +75,7 @@ dependencies {
7475
implementation 'org.jfrog.buildinfo:build-info-extractor-gradle:4.29.4'
7576
implementation 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1'
7677
implementation libs.com.squareup.okhttp3.okhttp
78+
implementation libs.io.spring.security.release.plugin
7779

7880
testImplementation platform('org.junit:junit-bom:5.8.2')
7981
testImplementation "org.junit.jupiter:junit-jupiter-api"

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@ org-webjars-knockout = "org.webjars:knockout:3.5.1"
7474
org-webjars-sockjs-client = "org.webjars:sockjs-client:1.5.1"
7575
org-webjars-stomp-websocket = "org.webjars:stomp-websocket:2.3.4"
7676
org-webjars-webjars-locator-core = "org.webjars:webjars-locator-core:0.52"
77+
io-spring-security-release-plugin = "io.spring.gradle:spring-security-release-plugin:1.0.1-SNAPSHOT"
7778

7879
[plugins]
Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
changelog:
2+
repository: spring-projects/spring-session
23
issues:
34
exclude:
4-
labels: ["duplicate", "invalid", "declined"]
5+
labels: ["status: duplicate", "status: invalid", "status: declined"]
6+
ports:
7+
- label: "status: forward-port"
8+
bodyExpression: 'Forward port of issue #(\d+).*'
59
sections:
6-
- title: "New Features"
7-
emoji: ":star:"
8-
labels: ["enhancement"]
9-
- title: "Bug Fixes"
10-
emoji: ":beetle:"
11-
labels: ["bug", "regression"]
12-
- title: "Dependency Upgrades"
13-
emoji: ":hammer:"
14-
labels: ["dependency-upgrade"]
15-
- title: "Non-passive"
16-
emoji: ":rewind:"
17-
labels: ["breaks-passivity"]
10+
- title: ":star: New Features"
11+
labels: [ "type: enhancement" ]
12+
sort: "title"
13+
- title: ":beetle: Bug Fixes"
14+
labels: [ "type: bug", "type: regression" ]
15+
sort: "title"
16+
- title: ":hammer: Dependency Upgrades"
17+
labels: [ "type: dependency-upgrade" ]
18+
sort: "title"
19+
- title: ":rewind: Non-passive"
20+
labels: [ "type: breaks-passivity" ]
21+
sort: "title"
22+
contributors:
23+
title: ":heart: Contributors"
24+
exclude:
25+
names: ["marcusdacoregio", "dependabot[bot]"]

0 commit comments

Comments
 (0)