Support -Werror CLI argument to treat warnings as errors

The option is named "warningsAsErrors" in the Gradle plugin

 #KT-10563 Fixed
This commit is contained in:
Alexander Udalov
2017-08-25 17:11:34 +03:00
committed by Ilya Gorbunov
parent 897261a8a6
commit 5cbcbe4a9c
26 changed files with 133 additions and 9 deletions
+3
View File
@@ -0,0 +1,3 @@
warning: classpath entry points to a non-existent location: non-existing-path.jar
error: warnings found and -Werror specified
COMPILATION_ERROR