Reworked info command.
This commit is contained in:
parent
62417e76f7
commit
aea73acce5
9 changed files with 157 additions and 122 deletions
|
@ -13,14 +13,19 @@ import java.time.*;
|
|||
*/
|
||||
public final class {{className}} {
|
||||
public static final String PROJECT = "{{project}}";
|
||||
public static final String VERSION = "{{version}}";
|
||||
public static final LocalDateTime BUILDDATE =
|
||||
LocalDateTime.ofInstant(Instant.ofEpochMilli({{epoch}}L), ZoneId.systemDefault());
|
||||
|
||||
public static final int MAJOR = {{major}};
|
||||
public static final int MINOR = {{minor}};
|
||||
public static final int PATCH = {{patch}};
|
||||
public static final String PRERELEASE = "{{preRelease}}";
|
||||
public static final String BUILDMETA = "{{buildMeta}}";
|
||||
public static final String VERSION = "{{version}}";
|
||||
public static final String PRERELEASE = "{{preRelease}}";
|
||||
|
||||
public static final String WEBSITE = "https://www.mobitopia.org/mobibot/";
|
||||
public static final String AUTHOR = "Erik C. Thauvin";
|
||||
public static final String AUTHOR_URL = "https://erik.thauvin.net/";
|
||||
|
||||
/**
|
||||
* Disables the default constructor.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue