/ Published in: Groovy

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// make fat jar // exclude META-INF/MANIFEST.MF files and *groovy*.jar // filter routine for find All to exclude groovy jar files } jar { println "*** jar task beg ***" // note: might want to use configuration runtime instead for above line cp1.each { println it } fo.flush() from (classpath) { exclude 'META-INF/MANIFEST.MF' } println "*** jar task end ***" // println "Press any key..."; System.in.read(); }
Comments
