Skip to content

Commit f47a996

Browse files
committed
build.gradle.kts: ensure output pom is UTF-8
1 parent f9188cd commit f47a996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle-scijava/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ javaPlatform {
2323
val computeCatalogAndPlatform = tasks.register<Exec>("generateCatalog") {
2424

2525
workingDir = projectDir.parentFile
26-
commandLine("sh", "-c", "mvn -B -f pom.xml help:effective-pom")
26+
commandLine("sh", "-c", "mvn -B -Dfile.encoding=UTF-8 -f pom.xml help:effective-pom")
2727
standardOutput = ByteArrayOutputStream()
2828

2929
doLast {

0 commit comments

Comments
 (0)