Skip to content

Commit 9c57741

Browse files
author
may
committed
Fix errors
1 parent 78c7729 commit 9c57741

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ group = 'com.imsweb'
1616
version = '1.16-SNAPSHOT'
1717
description = 'Java client library for parsing x12 files'
1818

19-
tasks.withType(JavaCompile) {
20-
options.encoding = 'UTF-8' // UTF-8 for all compilation tasks
21-
options.compilerArgs << "-Xlint:all" << "-Werror" // fail the build if there are compiler warnings
19+
tasks.withType(JavaCompile).configureEach {
20+
options.encoding = 'UTF-8'
21+
options.compilerArgs << "-Werror" << "-Xlint:-options"
2222
}
2323

2424
java {

0 commit comments

Comments
 (0)