Skip to content

Commit 1b14a8a

Browse files
committed
Prepare version 0.5.0
1 parent 70c61a8 commit 1b14a8a

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
# Change Log
22

3-
Version 0.5.0 *(In development)*
4-
--------------------------------
3+
Version 0.5.0 *(2018-06-16)*
4+
----------------------------
5+
6+
- Generate SVG picture by default. [\#55](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/55) ([vanniktech](https://github.com/vanniktech))
7+
- Update Gradle wrapper to 4.8 [\#54](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/54) ([vanniktech](https://github.com/vanniktech))
8+
- 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))
9+
- Use Gradle Maven Publish Plugin for publishing. [\#52](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/52) ([vanniktech](https://github.com/vanniktech))
10+
- Generator: Allow custom output formats. [\#51](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/51) ([vanniktech](https://github.com/vanniktech))
11+
- 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))
12+
- Handle recursive depenencies correctly. [\#45](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/45) ([vanniktech](https://github.com/vanniktech))
13+
- Replace dot execution with graphviz-java library. [\#40](https://github.com/vanniktech/gradle-dependency-graph-generator-plugin/pull/40) ([vanniktech](https://github.com/vanniktech))
514

615
Version 0.4.0 *(2018-04-20)*
716
----------------------------

README.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Gradle plugin that lets you visualize your dependencies in a graph.
44

55
# Set up
66

7-
[Gradle 4.0](https://docs.gradle.org/4.0/release-notes.html) or higher is required.
7+
[Gradle 3.3](https://docs.gradle.org/3.3/release-notes.html) or higher is required.
88

99
```gradle
1010
buildscript {
1111
repositories {
1212
mavenCentral()
1313
}
1414
dependencies {
15-
classpath "com.vanniktech:gradle-dependency-graph-generator-plugin:0.4.0"
15+
classpath "com.vanniktech:gradle-dependency-graph-generator-plugin:0.5.0"
1616
}
1717
}
1818
@@ -21,11 +21,6 @@ apply plugin: "com.vanniktech.dependency.graph.generator"
2121

2222
Note that this plugin can be applied at the root of the project or at a specific project. Both cases will just work.
2323

24-
This plugin is using the `dot` command line tool for generating the graphs hence you need to install it.
25-
- Mac (with [Homebrew](https://brew.sh/) installed): `brew install graphviz`
26-
- Windows (with [Chocolatey](https://chocolatey.org/) installed): `choco install graphviz`
27-
- Ubuntu: `sudo apt-get install graphviz`
28-
2924
Information: [This plugin is also available on Gradle plugins](https://plugins.gradle.org/plugin/com.vanniktech.dependency.graph.generator)
3025

3126
### Snapshot
@@ -58,18 +53,16 @@ We only want to show which Firebase libraries we're using and give them the typi
5853
```groovy
5954
import com.vanniktech.dependency.graph.generator.DependencyGraphGeneratorPlugin
6055
import com.vanniktech.dependency.graph.generator.DependencyGraphGeneratorExtension.Generator
61-
import com.vanniktech.dependency.graph.generator.dot.GraphFormattingOptions
62-
import com.vanniktech.dependency.graph.generator.dot.Color
63-
import com.vanniktech.dependency.graph.generator.dot.Shape
64-
import com.vanniktech.dependency.graph.generator.dot.Style
56+
import guru.nidi.graphviz.attribute.Color
57+
import guru.nidi.graphviz.attribute.Style
6558
6659
plugins.apply(DependencyGraphGeneratorPlugin)
6760
6861
def firebaseGenerator = new Generator(
6962
"firebaseLibraries", // Suffix for our Gradle task.
7063
{ dependency -> dependency.getModuleGroup().startsWith("com.google.firebase") }, // Only want Firebase.
7164
{ dependency -> true }, // Include transitive dependencies.
72-
{ dependency -> new GraphFormattingOptions(Shape.BOX, Style.FILLED, Color.fromRgb(255, 203, 43)) }, // Give them some color.
65+
{ node, dependency -> node.add(Style.FILLED, Color.rgb("#ffcb2b")) }, // Give them some color.
7366
)
7467
7568
dependencyGraphGenerator {
@@ -88,6 +81,7 @@ dependencyGraphGenerator {
8881
generators = [ Generator.ALL, firebaseGenerator ]
8982
}
9083
```
84+
9185
# License
9286

9387
Copyright (C) 2018 Vanniktech - Niklas Baudy

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=com.vanniktech
2-
VERSION_NAME=0.5.0-SNAPSHOT
2+
VERSION_NAME=0.5.0
33

44
POM_ARTIFACT_ID=gradle-dependency-graph-generator-plugin
55
POM_NAME=Gradle Graph Generator Plugin

0 commit comments

Comments
 (0)