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 / FossilExeTask.java
blob59f9dd85704c3051181fa83882a703b954489d3d
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 * Task which essentially just outputs the executable path to Fossil.
18 * @since 2020/06/24
20 public class FossilExeTask
21 extends DefaultTask
23 /**
24 * Initializes the task.
26 * @since 2020/06/24
28 @Inject
29 public FossilExeTask()
31 // Set details of this task
32 this.setGroup("squirreljmeGeneral");
33 this.setDescription("Prints the Fossil executable path.");
35 // Action to perform
36 this.doLast(new FossilExeTaskAction());