Advertisement
Coriic

Untitled

Dec 13th, 2016
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. task fatJar(type: Jar) {
  2. manifest {
  3. attributes 'Implementation-Title': 'Implementation',
  4. 'Implementation-Version': version,
  5. 'Main-Class': 'main'
  6. }
  7. baseName = project.name + '-all'
  8. from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
  9. with jar
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement