Skip to content

Commit f249482

Browse files
author
Anton Troshin
committed
Update README.md and change Travis publish condition
1 parent 8b8e3d4 commit f249482

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jdk:
88
stages:
99
- name: build
1010
- name: publish
11-
if: ((branch = master) AND (type != pull_request)) OR (tag IS present)
11+
if: tag IS present
1212

1313
jobs:
1414
include:

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ It helps to keep track of module dependencies and library version used in each m
1414
## Installation
1515
Add the plugin as SBT dependency to your `project/plugins.sbt`
1616

17-
```addSbtPlugin("com.supersonic" % "sonic-dependency-tree" % x)```
17+
```
18+
resolvers += Resolver.bintrayRepo("ironsonic", "sbt-plugins")
19+
20+
addSbtPlugin("com.supersonic" % "sonic-dependency-tree" % "0.0.1")
21+
```
22+
23+
Since it is an Auto Plugin, no need to explicitly enable it on the root project.
1824

19-
On your root project enable plugin
25+
If you still wish to do so, you can do it like this:
2026
``` scala
2127
lazy val root = (project in file("."))
2228
.enablePlugins(SonicDependencyTreePlugin)

0 commit comments

Comments
 (0)