Skip to content

Commit a804355

Browse files
Merge branch '6.1.x'
Closes gh-14035
2 parents 26d3936 + 9390557 commit a804355

File tree

9 files changed

+1
-907
lines changed

9 files changed

+1
-907
lines changed

build.gradle

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ apply plugin: 'locks'
2323
apply plugin: 's101'
2424
apply plugin: 'io.spring.convention.root'
2525
apply plugin: 'org.jetbrains.kotlin.jvm'
26-
apply plugin: 'org.springframework.security.update-dependencies'
2726
apply plugin: 'org.springframework.security.update-version'
2827
apply plugin: 'org.springframework.security.sagan'
2928
apply plugin: 'org.springframework.github.milestone'
@@ -91,49 +90,6 @@ tasks.named("dispatchGitHubWorkflow") {
9190
}
9291
}
9392

94-
tasks.named("updateDependencies") {
95-
// we aren't Gradle 7 compatible yet
96-
checkForGradleUpdate = false
97-
}
98-
99-
updateDependenciesSettings {
100-
gitHub {
101-
organization = "spring-projects"
102-
repository = "spring-security"
103-
}
104-
addFiles({
105-
return [
106-
project.file("buildSrc/src/main/groovy/io/spring/gradle/convention/CheckstylePlugin.groovy")
107-
]
108-
})
109-
dependencyExcludes {
110-
majorVersionBump()
111-
alphaBetaVersions()
112-
snapshotVersions()
113-
addRule { components ->
114-
components.withModule("org.python:jython") { selection ->
115-
ModuleComponentIdentifier candidate = selection.getCandidate();
116-
if (!candidate.getVersion().equals(selection.getCurrentVersion())) {
117-
selection.reject("jython updates break integration tests");
118-
}
119-
}
120-
components.withModule("com.nimbusds:nimbus-jose-jwt") { selection ->
121-
ModuleComponentIdentifier candidate = selection.getCandidate();
122-
if (!candidate.getVersion().equals(selection.getCurrentVersion())) {
123-
selection.reject("nimbus-jose-jwt gets updated when oauth2-oidc-sdk is updated to ensure consistency");
124-
}
125-
}
126-
}
127-
}
128-
}
129-
130-
def toolchainVersion() {
131-
if (project.hasProperty('testToolchain')) {
132-
return project.property('testToolchain').toString().toInteger()
133-
}
134-
return 17
135-
}
136-
13793
subprojects {
13894
java {
13995
toolchain {

buildSrc/build.gradle

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ plugins {
22
id "java-gradle-plugin"
33
id "java"
44
id "groovy"
5-
id 'com.apollographql.apollo' version '2.4.5'
65
}
76

87
sourceCompatibility = JavaVersion.VERSION_17
@@ -42,10 +41,6 @@ gradlePlugin {
4241
id = "io.spring.convention.management-configuration"
4342
implementationClass = "io.spring.gradle.convention.ManagementConfigurationPlugin"
4443
}
45-
updateDependencies {
46-
id = "org.springframework.security.update-dependencies"
47-
implementationClass = "org.springframework.security.convention.versions.UpdateDependenciesPlugin"
48-
}
4944
updateProjectVersion {
5045
id = "org.springframework.security.update-version"
5146
implementationClass = "org.springframework.security.convention.versions.UpdateProjectVersionPlugin"
@@ -91,7 +86,6 @@ dependencies {
9186
implementation libs.io.github.gradle.nexus.publish.plugin
9287
implementation 'io.projectreactor:reactor-core'
9388
implementation libs.org.gretty.gretty
94-
implementation libs.com.apollographql.apollo.apollo.runtime
9589
implementation libs.com.github.ben.manes.gradle.versions.plugin
9690
implementation libs.com.github.spullara.mustache.java.compiler
9791
implementation libs.io.spring.javaformat.spring.javaformat.gradle.plugin
@@ -100,6 +94,7 @@ dependencies {
10094
implementation libs.org.hidetake.gradle.ssh.plugin
10195
implementation libs.org.jfrog.buildinfo.build.info.extractor.gradle
10296
implementation libs.org.sonarsource.scanner.gradle.sonarqube.gradle.plugin
97+
implementation libs.com.squareup.okhttp3.okhttp
10398

10499
testImplementation platform(libs.org.junit.junit.bom)
105100
testImplementation platform(libs.org.mockito.mockito.bom)

buildSrc/src/main/java/org/springframework/security/convention/versions/CommandLineUtils.java

Lines changed: 0 additions & 49 deletions
This file was deleted.

buildSrc/src/main/java/org/springframework/security/convention/versions/GitHubApi.java

Lines changed: 0 additions & 179 deletions
This file was deleted.

buildSrc/src/main/java/org/springframework/security/convention/versions/TransitiveDependencyLookupUtils.java

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)