Skip to content

Commit c7d1c8b

Browse files
committed
Set default changelog file name to "changelog.txt"
1 parent 8433bb6 commit c7d1c8b

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

gitversion-gradle/changelog-gradle/src/main/java/net/minecraftforge/gitversion/gradle/changelog/GenerateChangelogImpl.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import net.minecraftforge.gradleutils.shared.ToolExecBase;
99
import org.gradle.api.file.ProjectLayout;
1010
import org.gradle.api.file.RegularFileProperty;
11+
import org.gradle.api.logging.LogLevel;
1112
import org.gradle.api.provider.Property;
1213
import org.gradle.api.provider.ProviderFactory;
1314
import org.gradle.api.tasks.Input;
@@ -29,10 +30,11 @@ abstract class GenerateChangelogImpl extends ToolExecBase<ChangelogProblems> imp
2930
@Inject
3031
public GenerateChangelogImpl() {
3132
super(GitVersionTools.GITVERSION);
33+
this.setDescription("Generates a changelog for this project based on the Git history using Git Version.");
3234

33-
this.setDescription("Generates a changelog for the project based on the Git history using Git Version.");
35+
this.getStandardOutputLogLevel().set(LogLevel.INFO);
3436

35-
this.getOutputFile().convention(this.getDefaultOutputFile("txt"));
37+
this.getOutputFile().convention(this.getOutputFile("changelog.txt"));
3638

3739
this.getBuildMarkdown().convention(false);
3840

gitversion-gradle/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ gradle.beforeProject { Project project ->
3232
}
3333

3434
dependencyResolutionManagement.versionCatalogs.register('libs') {
35-
version 'gradleutils', '3.3.21'
35+
version 'gradleutils', '3.3.32'
3636

3737
plugin 'licenser', 'net.minecraftforge.licenser' version '1.2.0' // https://plugins.gradle.org/plugin/net.minecraftforge.licenser
3838
plugin 'javadoc-links', 'io.freefair.javadoc-links' version '8.14' // https://plugins.gradle.org/plugin/io.freefair.javadoc-links

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencyResolutionManagement {
2727
versionCatalogs.register('libs') {
2828
// Plugins
2929
plugin 'licenser', 'net.minecraftforge.licenser' version '1.2.0'
30-
plugin 'gradleutils', 'net.minecraftforge.gradleutils' version '3.3.21'
30+
plugin 'gradleutils', 'net.minecraftforge.gradleutils' version '3.3.32'
3131
plugin 'shadow', 'com.gradleup.shadow' version '9.2.2'
3232

3333
// Git

0 commit comments

Comments
 (0)