v 5.0.8
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2025 mingliqiye
|
||||
* Copyright 2026 mingliqiye
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -16,7 +16,7 @@
|
||||
* ProjectName mingli-utils
|
||||
* ModuleName mingli-utils.main
|
||||
* CurrentFile MetaData.kt
|
||||
* LastUpdate 2025-09-20 10:45:43
|
||||
* LastUpdate 2026-03-11 08:46:40
|
||||
* UpdateUser MingLiPro
|
||||
*/
|
||||
@file:JvmName("MetaData")
|
||||
@@ -40,16 +40,6 @@ fun getMetaData(): Map<String, String> {
|
||||
}.filter { it != null }.collect(toMap({ it!!.first }, { it!!.second }))
|
||||
}
|
||||
|
||||
class MingliUtilsMetaData {
|
||||
var buildTime: String = ""
|
||||
var groupId: String = ""
|
||||
var artifactId: String = ""
|
||||
var version: String = ""
|
||||
var buildJdkVersion: String = ""
|
||||
var author: String = ""
|
||||
var website: String = ""
|
||||
}
|
||||
|
||||
val mingliUtilsMetaData: MingliUtilsMetaData by lazy {
|
||||
val metaData = getMetaData()
|
||||
MingliUtilsMetaData().apply {
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright 2026 mingliqiye
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* ProjectName mingli-utils
|
||||
* ModuleName mingli-utils.main
|
||||
* CurrentFile MingliUtilsMetaData.kt
|
||||
* LastUpdate 2026-03-11 08:46:40
|
||||
* UpdateUser MingLiPro
|
||||
*/
|
||||
|
||||
package com.mingliqiye.utils.metadata
|
||||
|
||||
class MingliUtilsMetaData {
|
||||
var buildTime: String = ""
|
||||
var groupId: String = ""
|
||||
var artifactId: String = ""
|
||||
var version: String = ""
|
||||
var buildJdkVersion: String = ""
|
||||
var author: String = ""
|
||||
var website: String = ""
|
||||
}
|
||||
Reference in New Issue
Block a user