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

Commit 0bf9fb1

Browse files
committedFeb 16, 2017
fix shadow JAR distribution
Currently, dependencies are repackaged in the JAR, but the framework classes aren't rewritten. This fixes the problem.
1 parent 735c864 commit 0bf9fb1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎endpoints-framework-all/build.gradle

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jar {
1616
def repackagedDir = 'endpoints.repackaged'
1717

1818
shadowJar {
19+
classifier = null
1920
relocate 'org.apache', "${repackagedDir}.org.apache"
2021
relocate 'org.yaml', "${repackagedDir}.org.yaml"
2122
relocate 'org.joda', "${repackagedDir}.org.joda"
@@ -31,6 +32,10 @@ shadowJar {
3132
}
3233
}
3334

35+
artifacts {
36+
archives shadowJar
37+
}
38+
3439
dependencies {
3540
include project(':endpoints-framework')
3641
compile group: 'com.google.appengine', name: 'appengine-api-1.0-sdk', version: appengineVersion

0 commit comments

Comments
 (0)