mmalohlava / gradle-visteg

Exports task execution graph as .dot file
Apache License 2.0
131 stars 24 forks source link

No dot file generated. #19

Open rpringadi opened 4 years ago

rpringadi commented 4 years ago

I downloaded a template gradle project from spring initializer https://start.spring.io/ It gave me a gradle 6.0.1 template project, which I updated/lowered it the to 5.6.4. Updated my build.gradle

plugins {
    id 'org.springframework.boot' version '2.2.2.RELEASE'
    id 'io.spring.dependency-management' version '1.0.8.RELEASE'
    id 'java'
    id "cz.malohlava.visteg" version "1.0.5"
}
visteg {
    enabled        = true
    colouredNodes  = true
    colouredEdges  = true
    destination    = 'build/reports/visteg.dot'
    exporter       = 'dot'
    colorscheme    = 'spectral11'
    nodeShape      = 'box'
    startNodeShape = 'hexagon'
    endNodeShape   = 'doubleoctagon'
}

Then run

./gradlew clean build test --console=verbose
ll build/reports/visteg.dot

I cannot find any .dot file. Any idea what went wrong? Thanks!

./gradlew -version

------------------------------------------------------------
Gradle 5.6.4
------------------------------------------------------------

Build time:   2019-11-01 20:42:00 UTC
Revision:     dd870424f9bd8e195d614dc14bb140f43c22da98

Kotlin:       1.3.41
Groovy:       2.5.4
Ant:          Apache Ant(TM) version 1.9.14 compiled on March 12 2019
JVM:          1.8.0_222 (AdoptOpenJDK 25.222-b10)
OS:           Mac OS X 10.14.6 x86_64