Browse Source

更改jar包版本

master
sunmondong 8 years ago
parent
commit
fde851631a
  1. 2
      designer_base/build.9.0.gradle
  2. 14
      designer_base/build.9.0.gradle.bak
  3. 2
      designer_chart/build.9.0.gradle
  4. 4
      designer_chart/build.9.0.gradle.bak
  5. 2
      designer_form/build.9.0.gradle
  6. 4
      designer_form/build.9.0.gradle.bak

2
designer_base/build.9.0.gradle

@ -27,7 +27,7 @@ apply plugin: 'aspectj'
//jdk版本 //jdk版本
sourceCompatibility=1.7 sourceCompatibility=1.7
//jar包版本 //jar包版本
version='8.0' version='9.0'
//jar包重命名 //jar包重命名
jar{ jar{
baseName='fr-designer-core' baseName='fr-designer-core'

14
designer_base/build.9.0.gradle.bak

@ -44,13 +44,13 @@ ant{
} }
} }
// //
sourceSets{ //sourceSets{
main{ // main{
java{ // java{
srcDirs=["${srcDir}/src"] // srcDirs=["${srcDir}/src"]
} // }
} // }
} //}
// //
FileTree files =fileTree(dir:'./',include:'build.*.gradle') FileTree files =fileTree(dir:'./',include:'build.*.gradle')
def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('\\')) def buildDir=files[0].path.substring(0,files[0].path.lastIndexOf ('\\'))

2
designer_chart/build.9.0.gradle

@ -27,7 +27,7 @@ apply plugin: 'aspectj'
//jdk版本 //jdk版本
sourceCompatibility=1.7 sourceCompatibility=1.7
//jar包版本 //jar包版本
version='8.0' version='9.0'
//jar包重命名 //jar包重命名
jar{ jar{
baseName='fr-designer-chart' baseName='fr-designer-chart'

4
designer_chart/build.9.0.gradle.bak

@ -66,7 +66,7 @@ dependencies{
//.java文件到classes文件夹下参与打包 //.java文件到classes文件夹下参与打包
task copyFile(type:Copy,dependsOn:compileJava){ task copyFile(type:Copy,dependsOn:compileJava){
copy{ copy{
from ("${srcDir}/src"){ from ("${srcDir}/src/main/java"){
exclude '**/.setting/**','.classpath','.project','**/*.java','**/*.db','**/*.g','**/package.html' exclude '**/.setting/**','.classpath','.project','**/*.java','**/*.db','**/*.g','**/package.html'
} }
into 'build/classes/main' into 'build/classes/main'
@ -83,7 +83,7 @@ task compressJS{
} }
} }
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'){
fileset (dir:"${srcDir}/src"){ fileset (dir:"${srcDir}/src/main/java"){
include (name:'**/*.js') include (name:'**/*.js')
include (name:'**/*.css') include (name:'**/*.css')
} }

2
designer_form/build.9.0.gradle

@ -27,7 +27,7 @@ apply plugin: 'aspectj'
//jdk版本 //jdk版本
sourceCompatibility=1.7 sourceCompatibility=1.7
//jar包版本 //jar包版本
version='8.0' version='9.0'
//jar包重命名 //jar包重命名
jar{ jar{
baseName='fr-designer-report' baseName='fr-designer-report'

4
designer_form/build.9.0.gradle.bak

@ -78,8 +78,8 @@ def dataContent ={def dir ->
task copyFile(type:Copy,dependsOn:compileJava){ task copyFile(type:Copy,dependsOn:compileJava){
copy{ copy{
with dataContent.call("${srcDir}/src") with dataContent.call("${srcDir}/src/main/java")
with dataContent.call("${srcDir}/../designer/src") // with dataContent.call("${srcDir}/../designer/src")
into 'build/classes/main' into 'build/classes/main'
} }

Loading…
Cancel
Save