Skip to content

Commit cac2379

Browse files
committed
Update message again
Be aware: the welcome message will be updated *several* times throughout this beta, each time containing new information, but could also be to otherwise test the functionality of the message system. When ForgeGradle 7 is stabilized, The welcome message will only be displayed once per minor version bump (7.X).
1 parent 6fd1d27 commit cac2379

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

src/main/java/net/minecraftforge/gradle/Constants.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ final class Constants {
2626
/// Use these with [java.text.MessageFormat#format(String, Object...)].
2727
static final class Messages {
2828
static final String WELCOME = """
29-
Welcome to ForgeGradle 7.0!
29+
Welcome to ForgeGradle 7.0 BETA!
30+
31+
This is an unstable release of ForgeGradle 7 for testing purposes.
3032
3133
Here are some release highlights:
3234
- Complete rewrite of the plugin and underlying code.
@@ -51,7 +53,8 @@ If you are on an older version (1.20.4 and older), you will need the
5153
'net.minecraftforge.obfuscation' plugin. Many of these come with our provided
5254
MDK, so this should not be an issue for you.
5355
54-
This message will not display again until ForgeGradle 7.1 or the below file is deleted:
56+
This message will not display again until the next major beta update, ForgeGradle
57+
7.1, or the below file is deleted:
5558
{}
5659
5760
For more details on this release, see https://docs.minecraftforge.net/en/fg-7.0/""";

src/main/java/net/minecraftforge/gradle/ForgeGradleFlowAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected void run(Parameters parameters) throws IOException {
5454
if (parameters.getFailure().isPresent()) return;
5555

5656
// check for marker file
57-
var markerFile = parameters.messagesDir.file("7_0_BETA_WELCOME").get().getAsFile();
57+
var markerFile = parameters.messagesDir.file("7_0_BETA_WELCOME_1").get().getAsFile();
5858
if (markerFile.exists()) return;
5959
Files.createDirectories(markerFile.toPath().getParent());
6060
Files.createFile(markerFile.toPath());

src/main/java/net/minecraftforge/gradle/ToolExec.java

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)