Browse Source

构建文件添加src

master
sunmondong 8 years ago
parent
commit
0a1e4b4cf6
  1. 2
      designer_form/build.dev.gradle.bak
  2. 3
      designer_form/build.performance.gradle
  3. 2
      designer_form/build.performance.gradle.bak

2
designer_form/build.dev.gradle.bak

@ -34,7 +34,7 @@ def branchName=buildDir.substring(buildDir.lastIndexOf ('\\')+1)
//jar包 //jar包
FileTree f=fileTree(dir:'../../../',include:"finereport-*-stable/${branchName}/**/build/libs/*.jar") FileTree f=fileTree(dir:'../../../',include:"finereport-*-stable/${branchName}/**/build/libs/*.jar")
f.each{File file-> f.each{File file->
println "----${f.path}" println "----${file.path}"
} }
// //

3
designer_form/build.performance.gradle

@ -20,7 +20,8 @@ def baseDir=".."
sourceSets{ sourceSets{
main{ main{
java{ java{
srcDirs=["${srcDir}/src"] srcDirs=["${srcDir}/src",
"${srcDir}/../designer/src"]
} }
} }
} }

2
designer_form/build.performance.gradle.bak

@ -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'){

Loading…
Cancel
Save