Skip to content

Commit 1b8f6e7

Browse files
committed
#21 GradlePlugin: replaced default eol property by System.lineSeparator
1 parent 7073e0b commit 1b8f6e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jcp/src/main/java/com/igormaznitsa/jcp/gradle/JcpPreprocessTask.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public JcpPreprocessTask() {
163163

164164
this.targetEncoding = factory.property(String.class).convention(StandardCharsets.UTF_8.name());
165165
this.sourceEncoding = factory.property(String.class).convention(StandardCharsets.UTF_8.name());
166-
this.eol = factory.property(String.class).convention(System.getProperty("line.separator", "\n"));
166+
this.eol = factory.property(String.class).convention(System.lineSeparator());
167167

168168
this.vars = factory.mapProperty(String.class, String.class).convention(new HashMap<>());
169169

0 commit comments

Comments
 (0)