Skip to content

Commit 4c25a5b

Browse files
committed
Remove old version nag and banner
1 parent 9b2e4d1 commit 4c25a5b

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/main/java/net/minecraftforge/gradle/common/BasePlugin.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,6 @@ public void execute(Project project)
211211

212212
public abstract void applyPlugin();
213213

214-
private static boolean displayBanner = true;
215-
216214
private void getRemoteJsons()
217215
{
218216
// MCP json
@@ -253,25 +251,6 @@ protected void afterEvaluate()
253251
"classifier", "srg",
254252
"ext", "zip"
255253
));
256-
257-
LOGGER.warn("WARNING: You are using an unsupported version of ForgeGradle.");
258-
LOGGER.warn("Please consider upgrading to ForgeGradle 5 and helping in the efforts to get old versions working on the modern toolchain.");
259-
LOGGER.warn("See https://gist.github.com/TheCurle/fe7ad3ede188cbdd15c235cc75d52d4a for more info on contributing.");
260-
261-
if (!displayBanner)
262-
return;
263-
264-
LOGGER.lifecycle("#################################################");
265-
LOGGER.lifecycle(" ForgeGradle {} ", this.getVersionString());
266-
LOGGER.lifecycle(" https://github.com/MinecraftForge/ForgeGradle ");
267-
LOGGER.lifecycle("#################################################");
268-
LOGGER.lifecycle(" Powered by MCP {} ", this.getExtension().getMcpVersion());
269-
LOGGER.lifecycle(" http://modcoderpack.com ");
270-
LOGGER.lifecycle(" by: Searge, ProfMobius, Fesh0r, ");
271-
LOGGER.lifecycle(" R4wk, ZeuX, IngisKahn, bspkrs ");
272-
LOGGER.lifecycle("#################################################");
273-
274-
displayBanner = false;
275254
}
276255

277256
private String getVersionString()

0 commit comments

Comments
 (0)