JS DCE: drop unknown file report severity to WARNING

*.kjsm and other files might be received when FileCollection is
used in Gradle as a dependency.

Example: `testCompile project(":$coroutines_core").sourceSets.test.output`
(a popular-ish solution to introduce dependencies between tests)
This commit is contained in:
Anton Bannykh
2018-01-12 14:51:28 +03:00
parent 5d6d321fb2
commit c6d7ffb3eb
6 changed files with 41 additions and 14 deletions
+4
View File
@@ -0,0 +1,4 @@
$TESTDATA_DIR$/invalidFilename.args
$TESTDATA_DIR$/simple.js
-output-dir
$TEMP_DIR$/min
+2
View File
@@ -0,0 +1,2 @@
warning: invalid file name '$TESTDATA_DIR$/invalidFilename.args'; must end either with '.js', '.zip' or '.jar'
OK
+1
View File
@@ -0,0 +1 @@
// EXISTS: min/simple.js