no message
This commit is contained in:
@@ -1,3 +1,25 @@
|
||||
/*
|
||||
* Copyright 2025 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
|
||||
* CurrentFile build.gradle.kts
|
||||
* LastUpdate 2025-09-09 08:37:33
|
||||
* UpdateUser MingLiPro
|
||||
*/
|
||||
|
||||
import java.time.LocalDateTime
|
||||
import java.time.format.DateTimeFormatter
|
||||
|
||||
@@ -65,6 +87,18 @@ tasks.withType<org.gradle.jvm.tasks.Jar> {
|
||||
manifest {
|
||||
attributes(
|
||||
mapOf(
|
||||
"Main-Class" to "com.mingliqiye.utils.Main",
|
||||
"Specification-Title" to ARTIFACTID,
|
||||
"Specification-Version" to VERSIONS,
|
||||
"Specification-Vendor" to "minglipro",
|
||||
"Specification-Build-Time" to LocalDateTime.now()
|
||||
.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSSSSSS")),
|
||||
"Specification-Package" to GROUPSID,
|
||||
"Specification-Build-Number" to "1",
|
||||
"Specification-Build-OS" to System.getProperty("os.name"),
|
||||
"Specification-Build-Java" to System.getProperty("java.version"),
|
||||
"Specification-Build-Java-Vendor" to System.getProperty("java.vendor"),
|
||||
"Specification-Build-Java-Vendor-URL" to System.getProperty("java.vendor.url"),
|
||||
"Implementation-Title" to ARTIFACTID,
|
||||
"Implementation-Version" to VERSIONS,
|
||||
"Implementation-Package" to GROUPSID,
|
||||
|
||||
Reference in New Issue
Block a user