在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):mmalohlava/gradle-visteg开源软件地址(OpenSource Url):https://github.com/mmalohlava/gradle-visteg开源编程语言(OpenSource Language):Groovy 100.0%开源软件介绍(OpenSource Introduction):Gradle VisTEGOverviewVisTeg is a Gradle plugin for exporting task execution graph as ConfigurationApply visteg pluginGradle 1.x and 2.0buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'gradle.plugin.cz.malohlava:visteg:1.0.5'
}
}
apply plugin: 'cz.malohlava.visteg' Gradle 2.1 and higherplugins {
id 'cz.malohlava.visteg' version '1.0.5'
} Configure graph generatorThe plugin publishes visteg {
enabled = true
colouredNodes = true
colouredEdges = true
destination = 'build/reports/visteg.dot'
exporter = 'dot'
colorscheme = 'spectral11'
nodeShape = 'box'
startNodeShape = 'hexagon'
endNodeShape = 'doubleoctagon'
} The plugin supports the following options:
Graph generationPerform any Gradle task, for example
It will generate a Image generationThe generated file can be post-processed via Graphviz For example, png image is produced as follows:
For more information, please visit Graphviz home page. DesignThe plugin installs itself as a listener to Gradle lifecycle via AcknowledgementsBased on idea published by Code Wader - http://codewader.blogspot.com/2011/11/show-gradle-dependencies-as-graphwiz.html |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论