Browse Source

更改build.grable中源码的路径--02

master
fangdong sun 8 years ago
parent
commit
63e1fb91a9
  1. 6
      designer_form/build.gradle

6
designer_form/build.gradle

@ -18,7 +18,7 @@ sourceSets{
main{ main{
java{ java{
srcDirs=["${srcDir}/src", srcDirs=["${srcDir}/src",
"${srcDir}_form/src"] "${srcDir}/src"]
} }
} }
} }
@ -35,7 +35,7 @@ task copyFile(type:Copy,dependsOn:compileJava){
from ("${srcDir}/src"){ from ("${srcDir}/src"){
exclude '**/*.java' exclude '**/*.java'
} }
from ("${srcDir}_form/src") from ("${srcDir}/src")
into ('build/classes/main') into ('build/classes/main')
} }
@ -54,7 +54,7 @@ task compressJS{
include (name:'**/*.js') include (name:'**/*.js')
} }
fileset (dir:"${srcDir}_form/src"){ fileset (dir:"${srcDir}/src"){
include (name:'**/*.js') include (name:'**/*.js')
} }

Loading…
Cancel
Save