mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-03-13 13:47:16 +08:00
Allow to override final jar filename using project property
This commit is contained in:
parent
0f8b2cb192
commit
c1749ae093
@ -105,6 +105,7 @@ jar {
|
||||
}
|
||||
|
||||
jar.baseName = 'grasscutter'
|
||||
jar.archiveName = project.hasProperty('jarFilename') ? "${jarFilename}.${extension}" : archiveName
|
||||
|
||||
from {
|
||||
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user