Skip to content

Commit 1033388

Browse files
Remove updateDependencies plugin
Closes gh-2546
1 parent e02d368 commit 1033388

File tree

10 files changed

+9
-825
lines changed

10 files changed

+9
-825
lines changed

build.gradle

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ buildscript {
2525
}
2626

2727
apply plugin: 'io.spring.convention.root'
28-
apply plugin: 'org.springframework.security.update-dependencies'
2928

3029
group = 'org.springframework.session'
3130
description = 'Spring Session'
@@ -47,27 +46,3 @@ nohttp {
4746
source.exclude "spring-session-docs/.gradle/nodejs/**"
4847
source.exclude "spring-session-docs/modules/ROOT/examples/**/build/**"
4948
}
50-
51-
tasks.named("updateDependencies") {
52-
// we aren't Gradle 8 compatible yet
53-
checkForGradleUpdate = false
54-
}
55-
56-
updateDependenciesSettings {
57-
gitHub {
58-
organization = "spring-projects"
59-
repository = "spring-session"
60-
}
61-
dependencyExcludes {
62-
majorVersionBump()
63-
minorVersionBump()
64-
alphaBetaVersions()
65-
snapshotVersions()
66-
}
67-
setFiles({
68-
return [
69-
project.file("gradle/dependency-management.gradle"),
70-
project.file("buildSrc/src/main/groovy/io/spring/gradle/convention/CheckstylePlugin.groovy")
71-
]
72-
})
73-
}

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_11
@@ -47,10 +46,6 @@ gradlePlugin {
4746
id = "org.springframework.propdeps"
4847
implementationClass = "org.springframework.gradle.propdeps.PropDepsPlugin"
4948
}
50-
updateDependencies {
51-
id = "org.springframework.security.update-dependencies"
52-
implementationClass = "org.springframework.security.convention.versions.UpdateDependenciesPlugin"
53-
}
5449
}
5550
}
5651

@@ -69,7 +64,6 @@ dependencies {
6964
implementation 'io.github.gradle-nexus:publish-plugin:1.1.0'
7065
implementation 'io.spring.gradle:dependency-management-plugin:1.0.15.RELEASE'
7166
implementation 'io.projectreactor:reactor-core:3.4.33'
72-
implementation 'com.apollographql.apollo:apollo-runtime:2.4.5'
7367
implementation 'com.github.ben-manes:gradle-versions-plugin:0.38.0'
7468
implementation 'com.github.spullara.mustache.java:compiler:0.9.11'
7569
implementation 'io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.39'
@@ -78,6 +72,7 @@ dependencies {
7872
implementation 'org.hidetake:gradle-ssh-plugin:2.10.1'
7973
implementation 'org.jfrog.buildinfo:build-info-extractor-gradle:4.29.4'
8074
implementation 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1'
75+
implementation libs.com.squareup.okhttp3.okhttp
8176

8277
testImplementation platform('org.junit:junit-bom:5.8.1')
8378
testImplementation "org.junit.jupiter:junit-jupiter-api"

buildSrc/settings.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
dependencyResolutionManagement {
2+
versionCatalogs {
3+
libs {
4+
from(files("../gradle/libs.versions.toml"))
5+
}
6+
}
7+
}

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/FileUtils.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 & 180 deletions
This file was deleted.

0 commit comments

Comments
 (0)