build.gradle 483 B

123456789101112131415161718192021222324
  1. apply plugin: 'java-library'
  2. task distZip(dependsOn: 'fatJar') {
  3. //NO-OPtask als redirect
  4. }
  5. task fatJar(type: Jar) {
  6. manifest{
  7. attributes 'Implementation-Title': 'iZSetup',
  8. 'Implementation-Version': 'SNAPSHOT',
  9. 'Main-Class': 'de.nplusc.izc.InstallPak.Main'
  10. }
  11. baseName = project.name + '-all'
  12. from { zipTree("lib/com4j.jar") }
  13. with jar
  14. }
  15. dependencies
  16. {
  17. api fileTree(dir: 'lib', include: '*.jar')
  18. api project(':iZpl')
  19. }