JPS: report about unsupported targets once

Report about unsupported targets once per target type, show presentable
chunks list and don't show more then 5 chunks.

Example: "Native is not yet supported in IDEA internal build system.
Please use Gradle to build a, b, c, d, e and 10 other  (enable 'Delegate
IDE build/run actions to Gradle' in Settings)."

#KT-26980 Fixed
#KT-28316 Fixed

Original commit: 62b0b3e4e9
This commit is contained in:
Sergey Rostov
2018-11-26 15:50:24 +03:00
parent 5e68ef4676
commit 1624559845
5 changed files with 128 additions and 18 deletions
@@ -6,5 +6,8 @@ pJvm -> c [include]
pJs [compilationAndSourceSetHolder, js]
pJs -> c [include]
pNative [compilationAndSourceSetHolder, native]
pNative -> c [include]
pNative1 [compilationAndSourceSetHolder, native]
pNative1 -> c [include]
pNative2 [compilationAndSourceSetHolder, native]
pNative2 -> c [include]
@@ -1,8 +1,11 @@
================ Step #1 create new service =================
Building c
Building pNative
Native is not yet supported in IDEA internal build system. Please use Gradle to build pNative.
Building pNative2
Native is not yet supported in IDEA internal build system. Please use Gradle to build pNative1 and pNative2 (enable 'Delegate IDE build/run actions to Gradle' in Settings).
Exit code: NOTHING_DONE
------------------------------------------
Building pNative1
Exit code: NOTHING_DONE
------------------------------------------
Building pJs
@@ -21,8 +24,11 @@ Exit code: OK
================ Step #2 edit new service =================
Building c
Building pNative
Native is not yet supported in IDEA internal build system. Please use Gradle to build pNative.
Building pNative2
Native is not yet supported in IDEA internal build system. Please use Gradle to build pNative1 and pNative2 (enable 'Delegate IDE build/run actions to Gradle' in Settings).
Exit code: NOTHING_DONE
------------------------------------------
Building pNative1
Exit code: NOTHING_DONE
------------------------------------------
Building pJs
@@ -50,8 +56,11 @@ Exit code: OK
================ Step #3 delete new service =================
Building c
Building pNative
Native is not yet supported in IDEA internal build system. Please use Gradle to build pNative.
Building pNative2
Native is not yet supported in IDEA internal build system. Please use Gradle to build pNative1 and pNative2 (enable 'Delegate IDE build/run actions to Gradle' in Settings).
Exit code: NOTHING_DONE
------------------------------------------
Building pNative1
Exit code: NOTHING_DONE
------------------------------------------
Cleaning output files: