Skip to content

Commit

Permalink
#2660: utf
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 7, 2023
1 parent 5e69270 commit 3937607
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eo-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ SOFTWARE.
<dependency>
<groupId>com.yegor256</groupId>
<artifactId>farea</artifactId>
<version>0.0.8</version>
<version>0.0.9</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ void runsAllSnippets(final String yml) throws IOException {
target.toFile().getParentFile().mkdirs();
Files.copy(src, target);
}
f.properties()
.set("project.build.sourceEncoding", "UTF-8")
.set("project.reporting.outputEncoding", "UTF-8");
f.files()
.file("src/main/eo/main.eo")
.write(String.format("%s\n", map.get("eo")));
Expand Down

0 comments on commit 3937607

Please sign in to comment.