Add Spring Security Release Plugin

Issue gh-2712
This commit is contained in:
Marcus Hert Da Coregio
2024-01-03 13:46:35 -03:00
parent c8110b481e
commit 053347a787
4 changed files with 36 additions and 14 deletions

View File

@@ -25,6 +25,7 @@ buildscript {
}
apply plugin: 'io.spring.convention.root'
apply plugin: 'io.spring.security.release'
group = 'org.springframework.session'
description = 'Spring Session'
@@ -46,3 +47,13 @@ nohttp {
source.exclude "spring-session-docs/.gradle/nodejs/**"
source.exclude "spring-session-docs/modules/ROOT/examples/**/build/**"
}
springRelease {
repositoryOwner = "spring-projects"
repositoryName = "spring-session"
weekOfMonth = 3
dayOfWeek = 2
referenceDocUrl = "https://docs.spring.io/spring-session/reference/{version}/index.html"
apiDocUrl = "https://docs.spring.io/spring-session/docs/{version}/api/"
replaceSnapshotVersionInReferenceDocUrl = true
}

View File

@@ -4,13 +4,14 @@ plugins {
id "groovy"
}
sourceCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
repositories {
jcenter()
gradlePluginPortal()
mavenCentral()
maven { url 'https://repo.spring.io/plugins-release/' }
maven { url 'https://repo.spring.io/snapshot' }
}
sourceSets {
@@ -74,6 +75,7 @@ dependencies {
implementation 'org.jfrog.buildinfo:build-info-extractor-gradle:4.29.4'
implementation 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1'
implementation libs.com.squareup.okhttp3.okhttp
implementation libs.io.spring.security.release.plugin
testImplementation platform('org.junit:junit-bom:5.8.2')
testImplementation "org.junit.jupiter:junit-jupiter-api"

View File

@@ -74,5 +74,6 @@ org-webjars-knockout = "org.webjars:knockout:3.5.1"
org-webjars-sockjs-client = "org.webjars:sockjs-client:1.5.1"
org-webjars-stomp-websocket = "org.webjars:stomp-websocket:2.3.4"
org-webjars-webjars-locator-core = "org.webjars:webjars-locator-core:0.52"
io-spring-security-release-plugin = "io.spring.gradle:spring-security-release-plugin:1.0.1-SNAPSHOT"
[plugins]

View File

@@ -1,17 +1,25 @@
changelog:
repository: spring-projects/spring-session
issues:
exclude:
labels: ["duplicate", "invalid", "declined"]
labels: ["status: duplicate", "status: invalid", "status: declined"]
ports:
- label: "status: forward-port"
bodyExpression: 'Forward port of issue #(\d+).*'
sections:
- title: "New Features"
emoji: ":star:"
labels: ["enhancement"]
- title: "Bug Fixes"
emoji: ":beetle:"
labels: ["bug", "regression"]
- title: "Dependency Upgrades"
emoji: ":hammer:"
labels: ["dependency-upgrade"]
- title: "Non-passive"
emoji: ":rewind:"
labels: ["breaks-passivity"]
- title: ":star: New Features"
labels: [ "type: enhancement" ]
sort: "title"
- title: ":beetle: Bug Fixes"
labels: [ "type: bug", "type: regression" ]
sort: "title"
- title: ":hammer: Dependency Upgrades"
labels: [ "type: dependency-upgrade" ]
sort: "title"
- title: ":rewind: Non-passive"
labels: [ "type: breaks-passivity" ]
sort: "title"
contributors:
title: ":heart: Contributors"
exclude:
names: ["marcusdacoregio", "dependabot[bot]"]