Skip to content

Commit

Permalink
Relocate packages to avoid classpath issues #38
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Dec 16, 2016
1 parent 36a0c9a commit 6537206
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

Changelog of Git Changelog.

## Next release
## 1.58
### GitHub [#36](https://github.com/tomasbjerre/git-changelog-lib/issues/36) Annotated tags support

**Adding annotation to context of tag**


[e9db23559b58597](https://github.com/tomasbjerre/git-changelog-lib/commit/e9db23559b58597) Tomas Bjerre *2016-10-22 07:23:01*
[ecd852cfa40b0a7](https://github.com/tomasbjerre/git-changelog-lib/commit/ecd852cfa40b0a7) Tomas Bjerre *2016-10-22 07:23:29*


## 1.57
Expand Down
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ buildscript {
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
classpath 'net.researchgate:gradle-release:2.2.2'
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.4'
}
}

Expand All @@ -14,6 +15,7 @@ apply plugin: 'eclipse'
apply plugin: 'signing'
apply plugin: 'com.bmuschko.nexus'
apply plugin: 'net.researchgate.release'
apply plugin: 'com.github.johnrengelman.shadow'

group = 'se.bjurr.gitchangelog'

Expand Down Expand Up @@ -65,6 +67,11 @@ if (JavaVersion.current().isJava8Compatible()) {
}
}

shadowJar {
relocate 'com', 'gitchangeloglibshadow.com'
relocate 'org', 'gitchangeloglibshadow.org'
}

modifyPom {
project {
name 'GIT Changelog'
Expand Down Expand Up @@ -101,4 +108,6 @@ extraArchive {
javadoc = true
}

build.dependsOn shadowJar

afterReleaseBuild.dependsOn install, uploadArchives

0 comments on commit 6537206

Please sign in to comment.