Cherry pick the banglets and such from wip-l1summercoat, this will be the basis for...
[SquirrelJME.git] / buildSrc / src / main / java / cc / squirreljme / plugin / general / NextErrorPrefixTask.java
blobe54a3a091d19cf7f2556e529b7d0c72f243bb1b7
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc.squirreljme.plugin.general;
12 import javax.inject.Inject;
13 import org.gradle.api.DefaultTask;
15 /**
16 * This determines what the next error prefix is.
18 * @since 2020/08/22
20 public class NextErrorPrefixTask
21 extends DefaultTask
23 /**
24 * Initializes the task.
26 * @since 2020/08/22
28 @Inject
29 public NextErrorPrefixTask()
31 // Describe this
32 this.setGroup("squirreljmeGeneral");
33 this.setDescription("Returns the next free error prefix.");
35 // The action to perform
36 this.doLast(new NextErrorPrefixTaskAction());