Browse Source

测试打包(applet)--09

master
fangdong sun 8 years ago
parent
commit
1a83df3b82
  1. 20
      build.gradle

20
build.gradle

@ -2,32 +2,30 @@ apply plugin: 'java'
tasks.withType(JavaCompile){ tasks.withType(JavaCompile){
options.encoding = 'UTF-8' options.encoding = 'UTF-8'
} }
ant{
delete(dir:'classes')
delete(dir:'../finereport-lib-stable/tmp')
mkdir(dir:'../finereport-lib-stable/tmp')
mkdir(dir:'classes')
}
task appletJar{ task appletJar{
ant{ ant{
delete(dir:'classes')
delete(dir:'../finereport-lib-stable/tmp')
mkdir(dir:'../finereport-lib-stable/tmp')
mkdir(dir:'build/classes')
copy(todir:'classes'){ copy(todir:'classes'){
fileset(dir:'../finereport-core-stable/build/classes'){ fileset(dir:'../finereport-core-stable/build/classes/main'){
include(name:'**/*.*') include(name:'**/*.*')
} }
fileset(dir:'../finereport-chart-stable/build/classes'){ fileset(dir:'../finereport-chart-stable/build/classes/main'){
include(name:'**/*.*') include(name:'**/*.*')
} }
fileset(dir:'../finereport-desgin-stable/build/classes'){ fileset(dir:'../finereport-desgin-stable/build/classes/main'){
include(name:'**/*.*') include(name:'**/*.*')
} }
fileset(dir:'../finereport-platform-stable/build/classes'){ fileset(dir:'../finereport-platform-stable/build/classes/main'){
include(name:'**/*.*') include(name:'**/*.*')
} }
fileset(dir:'../finereport-performance-stable/build/classes'){ fileset(dir:'../finereport-performance-stable/build/classes/main'){
include(name:'**/*.*') include(name:'**/*.*')
} }

Loading…
Cancel
Save