Set failOnError = true by default in kotlinc Ant task as in javac
#KT-8742 Fixed
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
OUT:
|
||||
Buildfile: [TestData]/build.xml
|
||||
|
||||
build:
|
||||
[kotlinc] Compiling [[TestData]] => [[Temp]]
|
||||
[kotlinc] [TestData]/incorrectKotlinCode.kt:1:5: error: expecting a top level declaration
|
||||
[kotlinc] xxxx
|
||||
[kotlinc] ^
|
||||
[kotlinc] [TestData]/incorrectKotlinCode.kt:1:1: error: unresolved reference: xxxx
|
||||
[kotlinc] xxxx
|
||||
[kotlinc] ^
|
||||
|
||||
ERR:
|
||||
|
||||
BUILD FAILED
|
||||
[TestData]/build.xml:5: Compile failed; see the compiler error output for details.
|
||||
|
||||
Total time: [time]
|
||||
|
||||
Return code: 1
|
||||
Reference in New Issue
Block a user