Added example

This commit is contained in:
Erik C. Thauvin 2023-04-28 10:27:42 -07:00
parent 66f1ac9218
commit b50da16e74
25 changed files with 370 additions and 0 deletions

17
example/myversion.txt Normal file
View file

@ -0,0 +1,17 @@
package {{v packageName/}};
import java.util.Date;
public final class {{v className/}} {
public static final String PROJECT = "{{v project/}}";
public static final Date BUILD_DATE = new Date({{v epoch/}}L);
public static final int MAJOR = {{v major/}};
public static final int MINOR = {{v minor/}};
public static final int REVISION = {{v revision/}};
public static final String QUALIFIER = "{{v qualifier/}}";
public static final String VERSION = "{{v version/}}";
private {{v className/}}() {
throw new UnsupportedOperationException("Illegal constructor call.");
}
}