mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-25 11:57:35 +00:00
Allow to override final jar filename using project property
This commit is contained in:
parent
65fcae7961
commit
f441d0665a
@ -105,6 +105,7 @@ jar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
jar.baseName = 'grasscutter'
|
jar.baseName = 'grasscutter'
|
||||||
|
jar.archiveName = project.hasProperty('jarFilename') ? "${jarFilename}.${extension}" : archiveName
|
||||||
|
|
||||||
from {
|
from {
|
||||||
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
||||||
|
Loading…
Reference in New Issue
Block a user