Skip to content

Commit 2de8b9d

Browse files
committed
Remove redundant now grgit Gradle plugin
The `grgit` Gradle plugin has been used to determine modified files to update their Copyright. After migrating to a `-present` pattern we don't need to track modified files anymore. Therefore, we don't need to manage `org.ajoberstar.grgit` plugin, too. **Cherry-pick to `3.2.x`** # Conflicts: # .github/dependabot.yml # build.gradle
1 parent f250e11 commit 2de8b9d

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ updates:
1717
development-dependencies:
1818
update-types:
1919
- patch
20-
patterns:
21-
- com.gradle.*
20+
patterns:
21+
- org.gradle.*
2222
- com.github.spotbugs
2323
- io.spring.*
24-
- org.ajoberstar.grgit
2524
- org.antora
2625
- io.micrometer:micrometer-docs-generator
2726
- com.willowtreeapps.assertk:assertk-jvm

build.gradle

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ buildscript {
1818
plugins {
1919
id 'base'
2020
id 'idea'
21-
id 'org.ajoberstar.grgit' version '5.3.2'
2221
id 'io.spring.nohttp' version '0.0.11'
2322
id 'io.spring.dependency-management' version '1.1.7' apply false
2423
id 'org.antora' version '1.0.0'
@@ -37,14 +36,6 @@ ext {
3736
linkScmConnection = 'git://github.com/spring-projects/spring-amqp.git'
3837
linkScmDevConnection = '[email protected]:spring-projects/spring-amqp.git'
3938

40-
modifiedFiles =
41-
files()
42-
.from {
43-
files(grgit.status().unstaged.modified)
44-
.filter { f -> f.name.endsWith('.java') || f.name.endsWith('.kt') }
45-
}
46-
modifiedFiles.finalizeValueOnRead()
47-
4839
assertjVersion = '3.26.3'
4940
assertkVersion = '0.28.1'
5041
awaitilityVersion = '4.2.2'

0 commit comments

Comments
 (0)