mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[gradle] disable test launcher API usage implementation by default IDEA-232317
GitOrigin-RevId: 68f932e92f87dd8862f0c6c4c6b642efb44507bb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6d5fa8ab1d
commit
1f5acb198f
@@ -134,7 +134,7 @@
|
||||
description="Enable custom serialization of custom tooling objects"/>
|
||||
<registryKey key="gradle.tooling.use.external.process" defaultValue="false"
|
||||
description="Enable running gradle tooling api out of IDE process"/>
|
||||
<registryKey key="gradle.testLauncherAPI.enabled" defaultValue="true"
|
||||
<registryKey key="gradle.testLauncherAPI.enabled" defaultValue="false"
|
||||
description="Allow to use Test Launcher API to run tests when applicable"/>
|
||||
|
||||
<commandLineInspectionProjectConfigurator implementation="org.jetbrains.plugins.gradle.GradleCommandLineProjectConfigurator"/>
|
||||
|
||||
@@ -140,7 +140,7 @@ public class GradleTaskManager implements ExternalSystemTaskManager<GradleExecut
|
||||
|
||||
private static boolean testLauncherIsApplicable(@NotNull List<String> taskNames,
|
||||
@NotNull GradleExecutionSettings effectiveSettings) {
|
||||
boolean allowedByRegistry = Registry.is("gradle.testLauncherAPI.enabled", true);
|
||||
boolean allowedByRegistry = Registry.is("gradle.testLauncherAPI.enabled", false);
|
||||
boolean allowedByGradleVersion = isSupportedByGradleVersion(effectiveSettings);
|
||||
boolean allowedByTasksList = taskNames.size() < 2;
|
||||
return Boolean.TRUE == effectiveSettings.getUserData(GradleConstants.RUN_TASK_AS_TEST)
|
||||
|
||||
Reference in New Issue
Block a user