From dff0fe1b201ce8d093d857224b14e1f94d3ad4f5 Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Fri, 3 Jun 2022 13:49:51 -0600 Subject: [PATCH] Remove debug output from init script --- src/resources/project-root-capture.plugin.groovy | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/resources/project-root-capture.plugin.groovy b/src/resources/project-root-capture.plugin.groovy index d4299f5..cb887b0 100644 --- a/src/resources/project-root-capture.plugin.groovy +++ b/src/resources/project-root-capture.plugin.groovy @@ -8,8 +8,6 @@ import org.gradle.tooling.events.* -println "Applying Project tracker plugin" - settingsEvaluated { settings -> def rootDir = settings.rootDir.absolutePath def rootListLocation = new File(settings.gradle.gradleUserHomeDir, "project-roots.txt").absolutePath @@ -32,12 +30,10 @@ abstract class ProjectTracker implements BuildService, Op @Override public void close() { - print "Closing ProjectTracker" def rootDir = getParameters().getRootDir().get() def rootDirEntry = rootDir + '\n' def rootListFile = new File(getParameters().getRootListLocation().get()) if (!rootListFile.exists() || !rootListFile.text.contains(rootDirEntry)) { - println "Added rootDir entry to list: ${rootDir}" rootListFile << rootDirEntry } }