Skip to content

pipiobjo/gantt-gradle-task-plugin

Repository files navigation

gantt-gradle-task-plugin

Develop Build

Plugin to trace all executed gradle tasks with start, end time and their dependencies. Finally they are rendered in gantt chart

plugins {
  id "de.pipiobjo.gradle.plugin.GanttGradleTaskPlugin" version "0.1.0-dev.0+34857a5"
}

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "de.pipiobjo.gradle:plugin:0.1.0-dev.0+34857a5"
  }
}

apply plugin: "de.pipiobjo.gradle.plugin.GanttGradleTaskPlugin"

Configuration

There are a couple of configuration options all of them are bundled via the configuration closure

gantt{
    jsonToFile = true
}
Property Sample Value Default Value Description
chartTemplateResourcePath /gantt-custom.html /gantt.html Overwrite the base html template
stopTracingWithTask projectA:task1 null If you want to stop tracing with a specific task
jsonToFile true false If you want to dump the json also to the filesystem
jsonOutputLocation /reports/gantt/gantt-custom.json /reports/gantt/gantt.json Writes the json file to another location, but its not longer loaded via the ui, so the template embedded values are used for rendering

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published