Skip to content

Commit

Permalink
Packaging fat jar as main jar
Browse files Browse the repository at this point in the history
So that no special classifier is needed to get the relocated gson.
  • Loading branch information
tomasbjerre committed Dec 22, 2017
1 parent 1fe79a7 commit 764fe8f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@

Changelog of Violations lib.

## Unreleased
## 1.43
### No issue

**Bumping version to fix faulty release**


[01745f931b7d426](https://github.com/tomasbjerre/violations-lib/commit/01745f931b7d426) Tomas Bjerre *2017-12-22 17:22:00*

**Adding project.ext.useShadowJar = true**

* Updated release.gradle to only optionally create shadow jar.
Expand Down
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,6 @@ Very easy to use with a nice builder pattern
.violations();
```

It can be added as a dependency like this:
```
dependencies {
compile 'se.bjurr.violations:violations-lib:1.x'
}
```

There is also a fat jar including all, relocated, dependencies that can be used like this:
```
dependencies {
compile 'se.bjurr.violations:violations-lib:1.x:all', {
exclude group: 'com.google.code.gson', module: 'gson'
}
}
```

It is used by:
* [Violation Comments to GitHub Gradle Plugin](https://github.com/tomasbjerre/violation-comments-to-github-gradle-plugin).
* [Violation Comments to GitHub Maven Plugin](https://github.com/tomasbjerre/violation-comments-to-github-maven-plugin).
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ dependencies {

shadowJar {
relocate 'com.google', 'se.bjurr.com.google'
}
}

0 comments on commit 764fe8f

Please sign in to comment.