Skip to content

Commit e0dbf9c

Browse files
committed
More CI/env fixes
1 parent eeae98a commit e0dbf9c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

forge-main/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ minecraft {
8888
}
8989

9090
create("client") {
91+
taskName("runClient")
9192
workingDirectory("run/client")
9293

9394
args("--username", "Nano")
@@ -96,6 +97,7 @@ minecraft {
9697
}
9798

9899
create("server") {
100+
taskName("runServer")
99101
workingDirectory("run/server")
100102
environment("CC_TEST_RESOURCES", file("src/test/resources"))
101103

@@ -105,6 +107,7 @@ minecraft {
105107
}
106108

107109
create("data") {
110+
taskName("runData")
108111
workingDirectory("run/data")
109112

110113
args("--mod", "compactcrafting")
@@ -116,6 +119,7 @@ minecraft {
116119
}
117120

118121
create("gameTestServer") {
122+
taskName("runGameTestServer")
119123
workingDirectory("run/gametest")
120124
environment("CC_TEST_RESOURCES", file("src/test/resources"))
121125

@@ -177,6 +181,9 @@ tasks.withType<ProcessResources> {
177181
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
178182
}
179183

184+
tasks.compileJava {
185+
options.encoding = "UTF-8";
186+
}
180187

181188
reobf {
182189
this.create("jarJar")
File renamed without changes.

0 commit comments

Comments
 (0)