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

Commit a54c1b0

Browse files
committed
Merge pull request #33 from launchdarkly/jko/shadow
Simpler configuration for shadow plugin
2 parents 9402591 + e5dad77 commit a54c1b0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ apply plugin: 'maven'
33
apply plugin: 'org.ajoberstar.github-pages'
44
apply plugin: 'signing'
55
apply plugin: 'idea'
6+
apply plugin: 'com.github.johnrengelman.shadow'
67

78
repositories {
89
mavenCentral()
@@ -49,6 +50,7 @@ buildscript {
4950
}
5051
dependencies {
5152
classpath 'org.ajoberstar:gradle-git:0.12.0'
53+
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.2'
5254
}
5355
}
5456

@@ -65,7 +67,7 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
6567

6668
// add javadoc/source jar tasks as artifacts
6769
artifacts {
68-
archives sourcesJar, javadocJar
70+
archives sourcesJar, javadocJar, shadowJar
6971
}
7072

7173
githubPages {
@@ -79,6 +81,10 @@ githubPages {
7981
}
8082
}
8183

84+
shadowJar {
85+
classifier = 'all'
86+
}
87+
8288
test {
8389
testLogging {
8490
events "passed", "skipped", "failed", "standardOut", "standardError"

0 commit comments

Comments
 (0)