Skip to content

Commit d32689a

Browse files
Update build.gradle
1 parent 03fe519 commit d32689a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ jar {
3535
from sourceSets.main.allSource
3636
}
3737

38+
task jarWithDependencies(type: Jar) {
39+
baseName = project.name + '-WithDependencies'
40+
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
41+
with jar
42+
}
43+
3844
test {
3945
testLogging {
4046
events "passed", "skipped" , "failed"

0 commit comments

Comments
 (0)