From 5b898b11f88c7619a53c6a371ac93098db6f1e45 Mon Sep 17 00:00:00 2001 From: Danny Thomas Date: Thu, 12 Nov 2020 16:59:02 +1100 Subject: [PATCH] Remove dependency info plugin by default This report gets pretty expensive to compute and store on complex projects. --- src/main/groovy/nebula/plugin/info/InfoPlugin.groovy | 1 - .../nebula/plugin/info/InfoPluginIntegrationSpec.groovy | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/groovy/nebula/plugin/info/InfoPlugin.groovy b/src/main/groovy/nebula/plugin/info/InfoPlugin.groovy index 230f3183..6fe8d2d7 100644 --- a/src/main/groovy/nebula/plugin/info/InfoPlugin.groovy +++ b/src/main/groovy/nebula/plugin/info/InfoPlugin.groovy @@ -67,7 +67,6 @@ class InfoPlugin implements Plugin { // Collectors project.plugins.apply(BasicInfoPlugin) - project.plugins.apply(DependenciesInfoPlugin) project.plugins.apply(ManifestOwnersPlugin) project.plugins.apply(ScmInfoPlugin) project.plugins.apply(ContinuousIntegrationInfoPlugin) diff --git a/src/test/groovy/nebula/plugin/info/InfoPluginIntegrationSpec.groovy b/src/test/groovy/nebula/plugin/info/InfoPluginIntegrationSpec.groovy index 46cbc54d..6df9f94c 100644 --- a/src/test/groovy/nebula/plugin/info/InfoPluginIntegrationSpec.groovy +++ b/src/test/groovy/nebula/plugin/info/InfoPluginIntegrationSpec.groovy @@ -15,6 +15,7 @@ */ package nebula.plugin.info +import nebula.plugin.info.dependencies.DependenciesInfoPlugin import nebula.test.IntegrationSpec import nebula.test.functional.ExecutionResult @@ -32,6 +33,7 @@ class InfoPluginIntegrationSpec extends IntegrationSpec { } ${applyPlugin(InfoPlugin)} + ${applyPlugin(DependenciesInfoPlugin)} apply plugin: 'java' repositories { jcenter() } @@ -62,6 +64,7 @@ class InfoPluginIntegrationSpec extends IntegrationSpec { buildFile << """ allprojects { ${applyPlugin(InfoPlugin)} + ${applyPlugin(DependenciesInfoPlugin)} } subprojects { @@ -111,6 +114,7 @@ class InfoPluginIntegrationSpec extends IntegrationSpec { allprojects { ${applyPlugin(InfoPlugin)} + ${applyPlugin(DependenciesInfoPlugin)} } subprojects { @@ -166,6 +170,7 @@ class InfoPluginIntegrationSpec extends IntegrationSpec { allprojects { ${applyPlugin(InfoPlugin)} + ${applyPlugin(DependenciesInfoPlugin)} } subprojects {