Skip to content

Commit

Permalink
Prepare version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vanniktech committed Jun 16, 2018
1 parent 70c61a8 commit 1b14a8a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)*
----------------------------
Expand Down
18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ 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 {
repositories {
mavenCentral()
}
dependencies {
classpath "com.vanniktech:gradle-dependency-graph-generator-plugin:0.4.0"
classpath "com.vanniktech:gradle-dependency-graph-generator-plugin:0.5.0"
}
}
Expand All @@ -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
Expand Down Expand Up @@ -58,18 +53,16 @@ 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)
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 {
Expand All @@ -88,6 +81,7 @@ dependencyGraphGenerator {
generators = [ Generator.ALL, firebaseGenerator ]
}
```

# License

Copyright (C) 2018 Vanniktech - Niklas Baudy
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1b14a8a

Please sign in to comment.