Skip to content

Commit

Permalink
Update README.md and change Travis publish condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Troshin committed Dec 24, 2019
1 parent 8b8e3d4 commit f249482
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jdk:
stages:
- name: build
- name: publish
if: ((branch = master) AND (type != pull_request)) OR (tag IS present)
if: tag IS present

jobs:
include:
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ It helps to keep track of module dependencies and library version used in each m
## Installation
Add the plugin as SBT dependency to your `project/plugins.sbt`

```addSbtPlugin("com.supersonic" % "sonic-dependency-tree" % x)```
```
resolvers += Resolver.bintrayRepo("ironsonic", "sbt-plugins")
addSbtPlugin("com.supersonic" % "sonic-dependency-tree" % "0.0.1")
```

Since it is an Auto Plugin, no need to explicitly enable it on the root project.

On your root project enable plugin
If you still wish to do so, you can do it like this:
``` scala
lazy val root = (project in file("."))
.enablePlugins(SonicDependencyTreePlugin)
Expand Down

0 comments on commit f249482

Please sign in to comment.