[
https://issues.apache.org/jira/browse/BEAM-4818?focusedWorklogId=127825&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-127825
]
ASF GitHub Bot logged work on BEAM-4818:
----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Jul/18 16:09
Start Date: 26/Jul/18 16:09
Worklog Time Spent: 10m
Work Description: pabloem closed pull request #5984: [BEAM-4818] Move the
visteg plugin to the root project.
URL: https://github.com/apache/beam/pull/5984
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/build.gradle b/build.gradle
index f2a51fa1aef..1de8261f7b3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -82,7 +82,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 c92f23c8a6c..9fe65b606f6 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -250,12 +250,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
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 127825)
Time Spent: 0.5h (was: 20m)
> Make the visteg plugin only run once
> ------------------------------------
>
> Key: BEAM-4818
> URL: https://issues.apache.org/jira/browse/BEAM-4818
> Project: Beam
> Issue Type: Bug
> Components: build-system
> Reporter: Luke Cwik
> Assignee: Luke Cwik
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The visteg plugin is producing a dot report for each subproject which takes
> several seconds on my machine when the build task is large.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)