Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Commit

Permalink
fix shadow JAR distribution
Browse files Browse the repository at this point in the history
Currently, dependencies are repackaged in the JAR, but the framework
classes aren't rewritten. This fixes the problem.
  • Loading branch information
tangiel committed Feb 16, 2017
1 parent 735c864 commit 0bf9fb1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions endpoints-framework-all/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jar {
def repackagedDir = 'endpoints.repackaged'

shadowJar {
classifier = null
relocate 'org.apache', "${repackagedDir}.org.apache"
relocate 'org.yaml', "${repackagedDir}.org.yaml"
relocate 'org.joda', "${repackagedDir}.org.joda"
Expand All @@ -31,6 +32,10 @@ shadowJar {
}
}

artifacts {
archives shadowJar
}

dependencies {
include project(':endpoints-framework')
compile group: 'com.google.appengine', name: 'appengine-api-1.0-sdk', version: appengineVersion
Expand Down

0 comments on commit 0bf9fb1

Please sign in to comment.