pipiobjo / gantt-gradle-task-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Java 40.3%Language:JavaScript 32.4%Language:HTML 25.9%Language:CSS 1.4%