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