Forráskód Böngészése

Switch to spring-security SNAPSHOT dependencies

Issue gh-44
Steve Riesenberg 2 éve
szülő
commit
62b5d42fed

+ 2 - 2
docs/src/docs/asciidoc/examples/spring-authorization-server-docs-examples.gradle

@@ -8,18 +8,18 @@ sourceCompatibility = "17"
 
 repositories {
 	mavenCentral()
-	maven { url 'https://repo.spring.io/milestone' }
+	maven { url "https://repo.spring.io/snapshot" }
 }
 
 dependencies {
 	implementation platform("org.springframework.boot:spring-boot-dependencies:3.0.0")
+	implementation platform("org.springframework.security:spring-security-bom:6.1.0-SNAPSHOT")
 	implementation "org.springframework.boot:spring-boot-starter-web"
 	implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
 	implementation "org.springframework.boot:spring-boot-starter-security"
 	implementation "org.springframework.boot:spring-boot-starter-oauth2-client"
 	implementation "org.springframework.boot:spring-boot-starter-oauth2-resource-server"
 	implementation "org.springframework.boot:spring-boot-starter-data-jpa"
-	implementation "org.thymeleaf.extras:thymeleaf-extras-springsecurity6"
 	implementation project(":spring-security-oauth2-authorization-server")
 	runtimeOnly "com.h2database:h2"
 	testImplementation "org.springframework.boot:spring-boot-starter-test"

+ 1 - 1
gradle.properties

@@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError
 org.gradle.parallel=true
 org.gradle.caching=true
 springFrameworkVersion=6.0.5
-springSecurityVersion=6.1.0-M1
+springSecurityVersion=6.1.0-SNAPSHOT
 springJavaformatVersion=0.0.35
 springJavaformatExcludePackages=org/springframework/security/config org/springframework/security/oauth2
 checkstyleToolVersion=8.34

+ 1 - 0
samples/custom-consent-authorizationserver/gradle.properties

@@ -0,0 +1 @@
+spring-security.version=6.1.0-SNAPSHOT

+ 1 - 1
samples/custom-consent-authorizationserver/samples-custom-consent-authorizationserver.gradle

@@ -10,7 +10,7 @@ sourceCompatibility = "17"
 
 repositories {
 	mavenCentral()
-	maven { url 'https://repo.spring.io/milestone' }
+	maven { url "https://repo.spring.io/snapshot" }
 }
 
 dependencies {

+ 1 - 0
samples/default-authorizationserver/gradle.properties

@@ -0,0 +1 @@
+spring-security.version=6.1.0-SNAPSHOT

+ 1 - 1
samples/default-authorizationserver/samples-default-authorizationserver.gradle

@@ -10,7 +10,7 @@ sourceCompatibility = "17"
 
 repositories {
 	mavenCentral()
-	maven { url 'https://repo.spring.io/milestone' }
+	maven { url "https://repo.spring.io/snapshot" }
 }
 
 dependencies {

+ 1 - 0
samples/device-client/gradle.properties

@@ -0,0 +1 @@
+spring-security.version=6.1.0-SNAPSHOT

+ 1 - 0
samples/device-client/samples-device-client.gradle

@@ -10,6 +10,7 @@ sourceCompatibility = "17"
 
 repositories {
 	mavenCentral()
+	maven { url "https://repo.spring.io/snapshot" }
 }
 
 dependencies {

+ 1 - 0
samples/device-grant-authorizationserver/gradle.properties

@@ -0,0 +1 @@
+spring-security.version=6.1.0-SNAPSHOT

+ 1 - 7
samples/device-grant-authorizationserver/samples-device-grant-authorizationserver.gradle

@@ -9,16 +9,10 @@ version = project.rootProject.version
 sourceCompatibility = "17"
 
 repositories {
-	maven {
-		url = "https://repo.spring.io/snapshot"
-	}
 	mavenCentral()
+	maven { url = "https://repo.spring.io/snapshot" }
 }
 
-// Temporarily use SNAPSHOT version
-// TODO: Use 6.1.0-M2 version after release
-ext["spring-security.version"] = "6.1.0-SNAPSHOT"
-
 dependencies {
 	implementation "org.springframework.boot:spring-boot-starter-web"
 	implementation "org.springframework.boot:spring-boot-starter-security"

+ 1 - 0
samples/federated-identity-authorizationserver/gradle.properties

@@ -0,0 +1 @@
+spring-security.version=6.1.0-SNAPSHOT

+ 1 - 1
samples/federated-identity-authorizationserver/samples-federated-identity-authorizationserver.gradle

@@ -10,7 +10,7 @@ sourceCompatibility = "17"
 
 repositories {
 	mavenCentral()
-	maven { url 'https://repo.spring.io/milestone' }
+	maven { url "https://repo.spring.io/snapshot" }
 }
 
 dependencies {

+ 0 - 2
samples/messages-client/samples-messages-client.gradle

@@ -10,7 +10,6 @@ sourceCompatibility = "17"
 
 repositories {
 	mavenCentral()
-	maven { url 'https://repo.spring.io/milestone' }
 }
 
 dependencies {
@@ -20,7 +19,6 @@ dependencies {
 	implementation "org.springframework.boot:spring-boot-starter-oauth2-client"
 	implementation "org.springframework:spring-webflux"
 	implementation "io.projectreactor.netty:reactor-netty"
-	implementation "org.thymeleaf.extras:thymeleaf-extras-springsecurity6"
 	implementation "org.webjars:webjars-locator-core"
 	implementation "org.webjars:bootstrap:3.4.1"
 	implementation "org.webjars:jquery:3.4.1"

+ 0 - 1
samples/messages-resource/samples-messages-resource.gradle

@@ -10,7 +10,6 @@ sourceCompatibility = "17"
 
 repositories {
 	mavenCentral()
-	maven { url 'https://repo.spring.io/milestone' }
 }
 
 dependencies {