Skip to content

Commit c3c55e7

Browse files
Merge branch 'main' into mixin
2 parents 58c0315 + 46dff9f commit c3c55e7

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ sourceSets {
135135
property('mod_name', propertyString('mod_name'))
136136
property('mod_version', propertyString('mod_version'))
137137
property('mod_description', propertyString('mod_description'))
138-
property('mod_authors', "${propertyStringList('mod_authors', ',').join(', ')}")
138+
property('mod_authors', propertyStringList('mod_authors', ',').collect {it.strip()}.join('", "'))
139139
property('mod_credits', propertyString('mod_credits'))
140140
property('mod_url', propertyString('mod_url'))
141141
property('mod_update_json', propertyString('mod_update_json'))
@@ -152,21 +152,21 @@ idea {
152152
project {
153153
settings {
154154
runConfigurations {
155-
"1. Build"(Gradle) {
155+
'1. Build'(Gradle) {
156156
taskNames = ["build"]
157157
}
158-
"2. Run Client"(Gradle) {
158+
'2. Run Client'(Gradle) {
159159
taskNames = ["runClient"]
160160
}
161-
"3. Run Server"(Gradle) {
161+
'3. Run Server'(Gradle) {
162162
taskNames = ["runServer"]
163163
}
164164
}
165165
compiler.javac {
166166
afterEvaluate {
167-
javacAdditionalOptions = "-encoding utf8"
167+
javacAdditionalOptions = '-encoding utf8'
168168
moduleJavacAdditionalOptions = [
169-
(project.name + ".main"): tasks.compileJava.options.compilerArgs.collect { '"' + it + '"' }.join(' ')
169+
(project.name + '.main'): tasks.compileJava.options.compilerArgs.collect { '"' + it + '"' }.join(' ')
170170
]
171171
}
172172
}

gradle/scripts/helpers.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Collection<String> propertyStringList(String key) {
2323
}
2424

2525
Collection<String> propertyStringList(String key, String delimit) {
26-
return propertyString(key).split(delimit).findAll { !it.isEmpty() }
26+
return propertyString(key).split(delimit).findAll { !it.isBlank() }
2727
}
2828

2929
private Object $property(String key) {

0 commit comments

Comments
 (0)