Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
f441d066
Commit
f441d066
authored
May 12, 2022
by
Hotaru
Committed by
Melledy
May 12, 2022
Browse files
Allow to override final jar filename using project property
parent
65fcae79
Changes
1
Show whitespace changes
Inline
Side-by-side
build.gradle
View file @
f441d066
...
@@ -105,6 +105,7 @@ jar {
...
@@ -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
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment