Skip to content

Commit

Permalink
Switch to spring-security SNAPSHOT dependencies
Browse files Browse the repository at this point in the history
Issue gh-44
  • Loading branch information
sjohnr committed Mar 10, 2023
1 parent a7d250e commit af38540
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spring-security.version=6.1.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sourceCompatibility = "17"

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url "https://repo.spring.io/snapshot" }
}

dependencies {
Expand Down
1 change: 1 addition & 0 deletions samples/default-authorizationserver/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spring-security.version=6.1.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sourceCompatibility = "17"

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url "https://repo.spring.io/snapshot" }
}

dependencies {
Expand Down
1 change: 1 addition & 0 deletions samples/device-client/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spring-security.version=6.1.0-SNAPSHOT
1 change: 1 addition & 0 deletions samples/device-client/samples-device-client.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ sourceCompatibility = "17"

repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
}

dependencies {
Expand Down
1 change: 1 addition & 0 deletions samples/device-grant-authorizationserver/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spring-security.version=6.1.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
spring-security.version=6.1.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sourceCompatibility = "17"

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url "https://repo.spring.io/snapshot" }
}

dependencies {
Expand Down
2 changes: 0 additions & 2 deletions samples/messages-client/samples-messages-client.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ sourceCompatibility = "17"

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
}

dependencies {
Expand All @@ -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"
Expand Down
1 change: 0 additions & 1 deletion samples/messages-resource/samples-messages-resource.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ sourceCompatibility = "17"

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
}

dependencies {
Expand Down

0 comments on commit af38540

Please sign in to comment.