[Gradle] Don't run post-evaluation-checks on projects that failed to configure

When in 'lenient' or 'classpath' mode, Gradle will catch exceptions
during project evaluation and collect them into the
'ClassPathModeExceptionCollector'.

Running checks on the project after evaluation should only happen
if the project is properly configured (aka no such exceptions collected)
to prevent false positive error reports (that will then fail
the Gradle process and swallow the real cause)

^KT-48823 Verification Pending
This commit is contained in:
sebastian.sellmair
2021-09-27 10:41:37 +02:00
committed by Space
parent e4827efb4a
commit 29fb74d27d
13 changed files with 157 additions and 18 deletions
+1 -1
View File
@@ -15,4 +15,4 @@
<component name="KotlinCompilerSettings">
<option name="additionalArguments" value="-version -Xallow-kotlin-package -Xskip-metadata-version-check" />
</component>
</project>
</project>