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
f1b63c56
Commit
f1b63c56
authored
Jul 09, 2022
by
AnimeGitB
Browse files
Replace deprecated gradle properties
parent
4cbd3c7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.gradle
View file @
f1b63c56
...
@@ -103,7 +103,7 @@ configurations.all {
...
@@ -103,7 +103,7 @@ configurations.all {
application
{
application
{
// Define the main class for the application
// Define the main class for the application
m
ainClass
Name
=
'emu.grasscutter.Grasscutter'
getM
ainClass
().
set
(
'emu.grasscutter.Grasscutter'
)
}
}
...
@@ -112,8 +112,10 @@ jar {
...
@@ -112,8 +112,10 @@ jar {
attributes
'Main-Class'
:
'emu.grasscutter.Grasscutter'
attributes
'Main-Class'
:
'emu.grasscutter.Grasscutter'
}
}
jar
.
baseName
=
'grasscutter'
archiveBaseName
=
'grasscutter'
jar
.
archiveName
=
project
.
hasProperty
(
'jarFilename'
)
?
"${jarFilename}.${extension}"
:
archiveName
if
(
project
.
hasProperty
(
'jarFilename'
))
{
archiveFileName
=
"${jarFilename}.${extension}"
}
from
{
from
{
configurations
.
runtimeClasspath
.
collect
{
it
.
isDirectory
()
?
it
:
zipTree
(
it
)
}
configurations
.
runtimeClasspath
.
collect
{
it
.
isDirectory
()
?
it
:
zipTree
(
it
)
}
...
@@ -125,7 +127,7 @@ jar {
...
@@ -125,7 +127,7 @@ jar {
include
'*.xml'
include
'*.xml'
}
}
destinationDir
=
file
(
"."
)
destinationDir
ectory
=
file
(
"."
)
}
}
publishing
{
publishing
{
...
...
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