Skip to content

Commit a2e2bf9

Browse files
committed
Remove logger calls in init script
These clutter the console
1 parent 701f3f2 commit a2e2bf9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

components/scripts/gradle/gradle-init-scripts/configure-gradle-enterprise.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ if (GradleVersion.current() < GradleVersion.version('6.0')) {
8383
}
8484
if (!scanPluginComponent) {
8585
if (enableGradleEnterprise) {
86-
logger.quiet("Applying $BUILD_SCAN_PLUGIN_CLASS via init script")
8786
pluginManager.apply(initscript.classLoader.loadClass(BUILD_SCAN_PLUGIN_CLASS))
8887
} else {
8988
throw new IllegalStateException("The com.gradle.build-scan plugin is missing from the project.\n" +
@@ -97,7 +96,6 @@ if (GradleVersion.current() < GradleVersion.version('6.0')) {
9796
}
9897
if (!ccudPluginComponent) {
9998
if (enableGradleEnterprise) {
100-
logger.quiet("Applying $CCUD_PLUGIN_CLASS via init script")
10199
pluginManager.apply(initscript.classLoader.loadClass(CCUD_PLUGIN_CLASS))
102100
} else {
103101
logWarningMissingCommonCustomUserDataGradlePlugin()
@@ -119,7 +117,6 @@ if (GradleVersion.current() < GradleVersion.version('6.0')) {
119117
gradle.settingsEvaluated { settings ->
120118
if (!settings.pluginManager.hasPlugin(GRADLE_ENTERPRISE_PLUGIN_ID)) {
121119
if (enableGradleEnterprise) {
122-
logger.quiet("Applying $GRADLE_ENTERPRISE_PLUGIN_CLASS via init script")
123120
settings.pluginManager.apply(initscript.classLoader.loadClass(GRADLE_ENTERPRISE_PLUGIN_CLASS))
124121
} else {
125122
throw new IllegalStateException("The com.gradle.enterprise plugin is missing from the project.\n" +
@@ -129,7 +126,6 @@ if (GradleVersion.current() < GradleVersion.version('6.0')) {
129126
}
130127
if (!settings.pluginManager.hasPlugin(CCUD_PLUGIN_ID)) {
131128
if (enableGradleEnterprise) {
132-
logger.quiet("Applying $CCUD_PLUGIN_CLASS via init script")
133129
settings.pluginManager.apply(initscript.classLoader.loadClass(CCUD_PLUGIN_CLASS))
134130
} else {
135131
logWarningMissingCommonCustomUserDataGradlePlugin()

0 commit comments

Comments
 (0)