|
|
@ -127,6 +127,7 @@ dependencies{ |
|
|
|
//指明无法编译文件所在路径 |
|
|
|
//指明无法编译文件所在路径 |
|
|
|
def dataContent = { def dir -> |
|
|
|
def dataContent = { def dir -> |
|
|
|
copySpec{ |
|
|
|
copySpec{ |
|
|
|
|
|
|
|
println("------------------------------------------------copySpec from ${dir}") |
|
|
|
from ("${dir}"){ |
|
|
|
from ("${dir}"){ |
|
|
|
exclude '**/.setting/**','.classpath','.project','**/*.java','**/*.db','**/*.g','**/package.html' |
|
|
|
exclude '**/.setting/**','.classpath','.project','**/*.java','**/*.db','**/*.g','**/package.html' |
|
|
|
} |
|
|
|
} |
|
|
@ -135,7 +136,7 @@ def dataContent = { def dir -> |
|
|
|
|
|
|
|
|
|
|
|
task copyFiles(type:Copy,dependsOn:'compileJava'){ |
|
|
|
task copyFiles(type:Copy,dependsOn:'compileJava'){ |
|
|
|
copy{ |
|
|
|
copy{ |
|
|
|
println "------------------------------------------------copyfiles" |
|
|
|
println("------------------------------------------------copyfiles into ${classesDir}") |
|
|
|
with dataContent.call("${srcDir}/fine-antlr4/src") |
|
|
|
with dataContent.call("${srcDir}/fine-antlr4/src") |
|
|
|
with dataContent.call("${srcDir}/fine-antlr-old/src/main/java") |
|
|
|
with dataContent.call("${srcDir}/fine-antlr-old/src/main/java") |
|
|
|
with dataContent.call("${srcDir}/fine-asm/src") |
|
|
|
with dataContent.call("${srcDir}/fine-asm/src") |
|
|
|