|
|
|
@ -44,7 +44,7 @@ task copyFile(type:Copy,dependsOn:compileJava){
|
|
|
|
|
task compressJS{ |
|
|
|
|
ant.taskdef(name:'yuicompress',classname:'com.yahoo.platform.yui.compressor.YUICompressTask'){ |
|
|
|
|
classpath { |
|
|
|
|
fileset(dir:'../../lib',includes:'*.jar') |
|
|
|
|
fileset(dir:'../../build',includes:'**/*.jar') |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
ant.yuicompress(linebreak:"500",warn:"false", munge:"yes",preserveallsemicolons:"false", , charset:"utf-8",encoding:"utf-8",outputfolder:'build/classes/main'){ |
|
|
|
|