Browse Source

构建文件添加src

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

2
designer_form/build.dev.gradle

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

2
designer_form/build.dev.gradle.bak

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

3
designer_form/build.performance.gradle

@ -20,7 +20,8 @@ def baseDir=".."
sourceSets{
main{
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{
ant.taskdef(name:'yuicompress',classname:'com.yahoo.platform.yui.compressor.YUICompressTask'){
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'){

Loading…
Cancel
Save