We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d8371 commit 433a1d9Copy full SHA for 433a1d9
gradle/spotless-freshmark.gradle
@@ -47,13 +47,11 @@ if (tasks.names.contains('changelogCheck')) {
47
// freshmark should run after the changelog bump
48
changelogBumpFreshmark.dependsOn tasks.named('changelogBump')
49
50
- def changelogBumpFreshmarkGitAdd = tasks.register('changelogBumpFreshmarkGitAdd') {
+ def changelogBumpFreshmarkGitAdd = tasks.register('changelogBumpFreshmarkGitAdd', Exec) {
51
// this git add should run after the freshmark
52
dependsOn(changelogBumpFreshmark)
53
// do the git add
54
- doLast {
55
- exec { commandLine 'git', 'add' , '*.md' }
56
- }
+ commandLine 'git', 'add' , '*.md'
57
}
58
tasks.named('changelogPush').configure {
59
dependsOn changelogBumpFreshmarkGitAdd
0 commit comments