自动获取jar的版本号进行banner的打印

This commit is contained in:
everywhere.z
2022-09-27 18:19:32 +08:00
parent 25bd006d4e
commit ed64dd58b4

View File

@@ -34,8 +34,4 @@ public class LOGOPrinter {
Package pkg = LOGOPrinter.class.getPackage();
return (pkg != null) ? pkg.getImplementationVersion() : "DEV";
}
public static void main(String[] args) {
System.out.println(getVersion());
}
}