Guest User

Untitled

a guest
May 26th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #!/bin/groovy
  2.  
  3. JOGL = ['jogl:jogl:1.1.1a','jogl:gluegen-rt:1.1.1a']
  4. LOG4J = 'log4j:log4j:1.2.16'
  5.  
  6. apply plugin: 'java'
  7. apply plugin: 'eclipse'
  8.  
  9. version='0.1'
  10. group='walledin'
  11.  
  12. dependencies {
  13. compile JOGL, LOG4J
  14. }
  15.  
  16. repositories {
  17. flatDir name: 'localRepository', dirs: 'lib'
  18. localRepository {
  19. addArtifactPattern(file('lib').absolutePath + '/[name]-[revision].[ext]')
  20. }
  21. }
  22.  
  23. task buildDist(type:Zip, dependsOn: jar) {
  24. include "lib/*"
  25. include "dist/*"
  26. include "build/lib/*"
  27. }
Add Comment
Please, Sign In to add comment