Skip to content
Draft
24 changes: 23 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,26 @@ allprojects {
}
}
}
}
}

if (hasProperty('buildScan')) {
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
}

repositories {
mavenCentral()
}

tasks.register('runAllTests') {
var allTasks = rootProject.getAllTasks(true)
var allTestsTasks = allTasks.values().collect { t ->
t.findAll { it.name == 'test' || it.name == 'integrationTest' }
}.flatten()
it.dependsOn {
allTestsTasks
}
}

4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
org.gradle.jvmargs=-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError
org.gradle.parallel=true
org.gradle.caching=true
3 changes: 2 additions & 1 deletion reactive/rsocket/hello-security/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -21,4 +21,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
outputs.upToDateWhen { false }
}
4 changes: 2 additions & 2 deletions reactive/rsocket/hello-security/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
3 changes: 2 additions & 1 deletion reactive/webflux-fn/hello-security/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -21,4 +21,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
outputs.upToDateWhen { false }
}
4 changes: 2 additions & 2 deletions reactive/webflux-fn/hello-security/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @since 5.0
*/
@SpringBootTest
@AutoConfigureWebTestClient
@AutoConfigureWebTestClient(timeout = "36000")
public class HelloTests {

@Autowired
Expand Down
3 changes: 2 additions & 1 deletion reactive/webflux-fn/hello/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -19,4 +19,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
outputs.upToDateWhen { false }
}
4 changes: 2 additions & 2 deletions reactive/webflux-fn/hello/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @since 5.0
*/
@SpringBootTest
@AutoConfigureWebTestClient
@AutoConfigureWebTestClient(timeout = "36000")
public class HelloTests {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -25,4 +25,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
outputs.upToDateWhen { false }
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
3 changes: 2 additions & 1 deletion reactive/webflux/java/authentication/x509/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -21,4 +21,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
outputs.upToDateWhen { false }
}
4 changes: 2 additions & 2 deletions reactive/webflux/java/authentication/x509/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
3 changes: 2 additions & 1 deletion reactive/webflux/java/hello-security-explicit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -23,4 +23,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
outputs.upToDateWhen { false }
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @since 5.0
*/
@SpringBootTest
@AutoConfigureWebTestClient
@AutoConfigureWebTestClient(timeout = "36000")
public class HelloSecurityTests {

@Autowired
Expand Down
3 changes: 2 additions & 1 deletion reactive/webflux/java/hello-security/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -21,4 +21,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
outputs.upToDateWhen { false }
}
4 changes: 2 additions & 2 deletions reactive/webflux/java/hello-security/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @since 5.0
*/
@SpringBootTest
@AutoConfigureWebTestClient
@AutoConfigureWebTestClient(timeout = "36000")
public class HelloSecurityTests {

@Autowired
Expand Down
3 changes: 2 additions & 1 deletion reactive/webflux/java/hello/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -19,4 +19,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
outputs.upToDateWhen { false }
}
4 changes: 2 additions & 2 deletions reactive/webflux/java/hello/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @since 5.0
*/
@SpringBootTest
@AutoConfigureWebTestClient
@AutoConfigureWebTestClient(timeout = "36000")
public class HelloTests {

@Autowired
Expand Down
3 changes: 2 additions & 1 deletion reactive/webflux/java/method/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -21,4 +21,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
outputs.upToDateWhen { false }
}
4 changes: 2 additions & 2 deletions reactive/webflux/java/method/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @since 5.0
*/
@SpringBootTest
@AutoConfigureWebTestClient
@AutoConfigureWebTestClient(timeout = "36000")
public class HelloMethodApplicationTests {

@Autowired
Expand Down
5 changes: 3 additions & 2 deletions reactive/webflux/java/oauth2/login/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -24,4 +24,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
}
outputs.upToDateWhen { false }
}
4 changes: 2 additions & 2 deletions reactive/webflux/java/oauth2/login/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* @author Rob Winch
*/
@SpringBootTest
@AutoConfigureWebTestClient
@AutoConfigureWebTestClient(timeout = "36000")
public class OAuth2LoginApplicationTests {

@Autowired
Expand Down
5 changes: 3 additions & 2 deletions reactive/webflux/java/oauth2/resource-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -21,4 +21,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
}
outputs.upToDateWhen { false }
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* @since 5.1
*/
@SpringBootTest
@AutoConfigureWebTestClient
@AutoConfigureWebTestClient(timeout = "36000")
@ActiveProfiles("test")
public class ServerOAuth2ResourceServerApplicationITests {

Expand Down
5 changes: 3 additions & 2 deletions reactive/webflux/java/oauth2/webclient/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

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

Expand All @@ -24,4 +24,5 @@ dependencies {

tasks.withType(Test).configureEach {
useJUnitPlatform()
}
outputs.upToDateWhen { false }
}
4 changes: 2 additions & 2 deletions reactive/webflux/java/oauth2/webclient/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=5.6.0-SNAPSHOT
spring-security.version=5.6.0-SNAPSHOT
version=5.6.0
spring-security.version=5.6.0
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

@WebFluxTest
@Import({ SecurityConfiguration.class, OAuth2WebClientController.class })
@AutoConfigureWebTestClient
@AutoConfigureWebTestClient(timeout = "36000")
public class OAuth2WebClientControllerTests {

private static MockWebServer web = new MockWebServer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @author Rob Winch
*/
@SpringBootTest
@AutoConfigureWebTestClient
@AutoConfigureWebTestClient(timeout = "36000")
public class OAuth2WebClientWebFluxApplicationTests {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

@WebFluxTest
@Import({ SecurityConfiguration.class, RegisteredOAuth2AuthorizedClientController.class })
@AutoConfigureWebTestClient
@AutoConfigureWebTestClient(timeout = "36000")
public class RegisteredOAuth2AuthorizedClientControllerTests {

private static MockWebServer web = new MockWebServer();
Expand Down
2 changes: 1 addition & 1 deletion reactive/webflux/kotlin/hello-security/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
spring-security.version=5.6.0-SNAPSHOT
spring-security.version=5.6.0
Loading