Browse Source

DEC-14578 打包脚本

qufenxi^2
Elijah 4 years ago
parent
commit
8cad028623
  1. 4
      build.third_step8-jdk11.gradle
  2. 4
      build.third_step8.gradle

4
build.third_step8-jdk11.gradle

@ -26,6 +26,7 @@ sourceSets{
java{ java{
srcDirs=[ srcDirs=[
"${srcDir}/fine-ehcache/src/main/java" "${srcDir}/fine-ehcache/src/main/java"
"${srcDir}/fine-transmittable-thread-local/src/main/java"
] ]
} }
} }
@ -33,7 +34,8 @@ sourceSets{
def resourceDirs = [ def resourceDirs = [
"${srcDir}/fine-ehcache/src/main/java", "${srcDir}/fine-ehcache/src/main/java",
"${srcDir}/fine-ehcache/src/main/recources" "${srcDir}/fine-ehcache/src/main/recources",
"${srcDir}/fine-transmittable-thread-local/src/main/java"
] ]
sourceSets.main.java.outputDir = file('build/classes/8') sourceSets.main.java.outputDir = file('build/classes/8')

4
build.third_step8.gradle

@ -25,7 +25,8 @@ sourceSets{
main{ main{
java{ java{
srcDirs=[ srcDirs=[
"${srcDir}/fine-ehcache/src/main/java" "${srcDir}/fine-ehcache/src/main/java",
"${srcDir}/fine-transmittable-thread-local/src/main/java"
] ]
} }
} }
@ -70,6 +71,7 @@ task copyFiles(type:Copy,dependsOn:'compileJava'){
println "------------------------------------------------copyfiles" println "------------------------------------------------copyfiles"
with dataContent.call("${srcDir}/fine-ehcache/src/main/java") with dataContent.call("${srcDir}/fine-ehcache/src/main/java")
with dataContent.call("${srcDir}/fine-ehcache/src/main/recources") with dataContent.call("${srcDir}/fine-ehcache/src/main/recources")
with dataContent.call("${srcDir}/fine-transmittable-thread-local/src/main/java")
into "${classesDir}" into "${classesDir}"
} }
} }

Loading…
Cancel
Save