Skip to content

Commit 41c37bf

Browse files
author
ntwigg
committed
Fix the changelogBumpFreshmarkGitAdd warning.
1 parent d634590 commit 41c37bf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@
7878

7979
# Changelog
8080
## [Unreleased]
81+
### Fixed
82+
- `changelogBumpFreshmarkGitAdd` no longer triggers a "deprecated in Gradle 9" warning.
8183

8284
## [9.0.4] - 2025-07-08
8385
### Changed

src/main/resources/spotless/freshmark.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if (changelogExt != null) {
5555
dependsOn(changelogBumpFreshmark)
5656
// do the git add
5757
doLast {
58-
exec { commandLine 'git', 'add' , '*.md' }
58+
services.get(ExecOperations).exec { commandLine 'git', 'add' , '*.md' }
5959
}
6060
}
6161
tasks.named('changelogPush').configure {

0 commit comments

Comments
 (0)