mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
自动获取jar的版本号进行banner的打印
This commit is contained in:
@@ -32,7 +32,7 @@ public class LOGOPrinter {
|
||||
|
||||
private static String getVersion(){
|
||||
Package pkg = LOGOPrinter.class.getPackage();
|
||||
return (pkg != null) ? pkg.getImplementationVersion() : null;
|
||||
return (pkg != null) ? pkg.getImplementationVersion() : "DEV";
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
Reference in New Issue
Block a user