Update build script

This commit is contained in:
IzzelAliz 2023-04-16 08:13:08 +08:00
parent bf99715ee2
commit 35c06ffc77
No known key found for this signature in database
GPG Key ID: EE50E123A11D8338

View File

@ -83,7 +83,7 @@ jar {
manifest.attributes 'Implementation-Version': "arclight-$minecraftVersion-${project.version}-$gitHash" manifest.attributes 'Implementation-Version': "arclight-$minecraftVersion-${project.version}-$gitHash"
manifest.attributes 'Implementation-Vendor': 'Arclight Team' manifest.attributes 'Implementation-Vendor': 'Arclight Team'
manifest.attributes 'Implementation-Timestamp': new Date().format("yyyy-MM-dd HH:mm:ss") manifest.attributes 'Implementation-Timestamp': new Date().format("yyyy-MM-dd HH:mm:ss")
from(configurations.embed.collect { it.isDirectory() ? it : zipTree(it) }) { from { configurations.embed.collect { it.isDirectory() ? it : zipTree(it) } } {
exclude "META-INF/MANIFEST.MF" exclude "META-INF/MANIFEST.MF"
exclude "META-INF/*.SF" exclude "META-INF/*.SF"
exclude "META-INF/*.DSA" exclude "META-INF/*.DSA"