From 1b14a8ac09dbc079b22492ce2a7a1fa785dc6655 Mon Sep 17 00:00:00 2001 From: Niklas Baudy Date: Sat, 16 Jun 2018 20:42:53 +0200 Subject: [PATCH] Prepare version 0.5.0 --- CHANGELOG.md | 13 +++++++++++-- README.md | 18 ++++++------------ gradle.properties | 2 +- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d04b6fd..395910f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,16 @@ # Change Log -Version 0.5.0 *(In development)* --------------------------------- +Version 0.5.0 *(2018-06-16)* +---------------------------- + +- Generate SVG picture by default. [\#55](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/55) ([vanniktech](https://github.com/vanniktech)) +- Update Gradle wrapper to 4.8 [\#54](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/54) ([vanniktech](https://github.com/vanniktech)) +- Unify setup, improve a few things and bump versions. [\#53](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/53) ([vanniktech](https://github.com/vanniktech)) +- Use Gradle Maven Publish Plugin for publishing. [\#52](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/52) ([vanniktech](https://github.com/vanniktech)) +- Generator: Allow custom output formats. [\#51](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/51) ([vanniktech](https://github.com/vanniktech)) +- Update ktlint to 0.23.1 & Detekt to 1.0.0-RC7 [\#47](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/47) ([vanniktech](https://github.com/vanniktech)) +- Handle recursive depenencies correctly. [\#45](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/45) ([vanniktech](https://github.com/vanniktech)) +- Replace dot execution with graphviz-java library. [\#40](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/40) ([vanniktech](https://github.com/vanniktech)) Version 0.4.0 *(2018-04-20)* ---------------------------- diff --git a/README.md b/README.md index b787044..6abc1b9 100755 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Gradle plugin that lets you visualize your dependencies in a graph. # Set up -[Gradle 4.0](https://docs.gradle.org/4.0/release-notes.html) or higher is required. +[Gradle 3.3](https://docs.gradle.org/3.3/release-notes.html) or higher is required. ```gradle buildscript { @@ -12,7 +12,7 @@ buildscript { mavenCentral() } dependencies { - classpath "com.vanniktech:gradle-dependency-graph-generator-plugin:0.4.0" + classpath "com.vanniktech:gradle-dependency-graph-generator-plugin:0.5.0" } } @@ -21,11 +21,6 @@ apply plugin: "com.vanniktech.dependency.graph.generator" Note that this plugin can be applied at the root of the project or at a specific project. Both cases will just work. -This plugin is using the `dot` command line tool for generating the graphs hence you need to install it. - - Mac (with [Homebrew](https://brew.sh/) installed): `brew install graphviz` - - Windows (with [Chocolatey](https://chocolatey.org/) installed): `choco install graphviz` - - Ubuntu: `sudo apt-get install graphviz` - Information: [This plugin is also available on Gradle plugins](https://plugins.gradle.org/plugin/com.vanniktech.dependency.graph.generator) ### Snapshot @@ -58,10 +53,8 @@ We only want to show which Firebase libraries we're using and give them the typi ```groovy import com.vanniktech.dependency.graph.generator.DependencyGraphGeneratorPlugin import com.vanniktech.dependency.graph.generator.DependencyGraphGeneratorExtension.Generator -import com.vanniktech.dependency.graph.generator.dot.GraphFormattingOptions -import com.vanniktech.dependency.graph.generator.dot.Color -import com.vanniktech.dependency.graph.generator.dot.Shape -import com.vanniktech.dependency.graph.generator.dot.Style +import guru.nidi.graphviz.attribute.Color +import guru.nidi.graphviz.attribute.Style plugins.apply(DependencyGraphGeneratorPlugin) @@ -69,7 +62,7 @@ def firebaseGenerator = new Generator( "firebaseLibraries", // Suffix for our Gradle task. { dependency -> dependency.getModuleGroup().startsWith("com.google.firebase") }, // Only want Firebase. { dependency -> true }, // Include transitive dependencies. - { dependency -> new GraphFormattingOptions(Shape.BOX, Style.FILLED, Color.fromRgb(255, 203, 43)) }, // Give them some color. + { node, dependency -> node.add(Style.FILLED, Color.rgb("#ffcb2b")) }, // Give them some color. ) dependencyGraphGenerator { @@ -88,6 +81,7 @@ dependencyGraphGenerator { generators = [ Generator.ALL, firebaseGenerator ] } ``` + # License Copyright (C) 2018 Vanniktech - Niklas Baudy diff --git a/gradle.properties b/gradle.properties index 167f9e1..d9035fa 100755 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=com.vanniktech -VERSION_NAME=0.5.0-SNAPSHOT +VERSION_NAME=0.5.0 POM_ARTIFACT_ID=gradle-dependency-graph-generator-plugin POM_NAME=Gradle Graph Generator Plugin