This is an automated email from the ASF dual-hosted git repository.

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new fd2c136  [BEAM-4818] Move the visteg plugin to the root project.
fd2c136 is described below

commit fd2c136861c08d402c1dacec7bb047702212e623
Author: Luke Cwik <[email protected]>
AuthorDate: Wed Jul 18 13:34:19 2018 -0700

    [BEAM-4818] Move the visteg plugin to the root project.
---
 build.gradle                                                 | 12 ++++++++++++
 .../groovy/org/apache/beam/gradle/BeamModulePlugin.groovy    |  6 ------
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/build.gradle b/build.gradle
index 17ea891..d98ce9b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -81,7 +81,19 @@ if (!gradle.startParameter.isOffline()) {
   apply plugin: "com.gradle.build-scan"
 }
 
+// Apply a task dependency visualization plugin which creates a ".dot" file 
containing the
+// task dependencies for the current build. This command can help create a 
visual representation:
+//   dot -Tsvg build/reports/visteg.dot > build_dependencies.svg
+//
+// See https://github.com/mmalohlava/gradle-visteg for further details.
+apply plugin: "cz.malohlava.visteg"
+
+// This plugin provides a task to determine which dependencies have updates.
+// Additionally, the plugin checks for updates to Gradle itself.
+//
+// See https://github.com/ben-manes/gradle-versions-plugin for further details.
 apply plugin: 'com.github.ben-manes.versions'
+
 // JENKINS_HOME and BUILD_ID set automatically during Jenkins execution
 def isCIBuild = ['JENKINS_HOME', 'BUILD_ID'].every System.&getenv
 if (isCIBuild) {
diff --git 
a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy 
b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index e6906b0..cae9fb7 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -259,12 +259,6 @@ class BeamModulePlugin implements Plugin<Project> {
     // when attempting to resolve dependency issues.
     project.apply plugin: "project-report"
 
-    // Apply a task dependency visualization plugin which creates a ".dot" 
file in the build directory
-    // giving the task dependencies for the current build. Unfortunately this 
creates a ".dot" file
-    // in each sub-projects report output directory.
-    // See https://github.com/mmalohlava/gradle-visteg for further details.
-    project.apply plugin: "cz.malohlava.visteg"
-
     // Apply a plugin which provides the 'updateOfflineRepository' task that 
creates an offline
     // repository. This offline repository satisfies all Gradle build 
dependencies and Java
     // project dependencies. The offline repository is placed within 
$rootDir/offline-repo

Reply via email to