|
|
|
@ -1,12 +1,17 @@
|
|
|
|
|
/* |
|
|
|
|
* This file was generated by the Gradle 'init' task. |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
plugins { |
|
|
|
|
id 'java' |
|
|
|
|
id 'maven-publish' |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ext{ |
|
|
|
|
// 项目中依赖的jar的路径 |
|
|
|
|
// 如果依赖的jar需要打包到zip中,放置在/lib目录下 |
|
|
|
|
libPath = "$projectDir/webroot/WEB-INF/lib" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
repositories { |
|
|
|
|
mavenLocal() |
|
|
|
|
maven { |
|
|
|
@ -16,30 +21,8 @@ repositories {
|
|
|
|
|
|
|
|
|
|
dependencies { |
|
|
|
|
//使用本地jar |
|
|
|
|
implementation fileTree(dir: 'lib', include: ['*.jar']) |
|
|
|
|
implementation 'com.fr.third:fine-third:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.activator:fine-activator:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.core:fine-core:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.webui:fine-webui:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.datasource:fine-datasource:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.decision:fine-decision:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.decision:fine-decision-report:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.schedule:fine-schedule:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.schedule:fine-schedule-report:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.intelligence:fine-swift:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.intelligence:fine-accumulator:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.report:fine-report-engine:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'com.fr.report:fine-report-designer:10.0-RELEASE-SNAPSHOT' |
|
|
|
|
implementation 'io.socket:socket.io-client:0.7.0' |
|
|
|
|
implementation 'org.aspectj:aspectjrt:1.6.9' |
|
|
|
|
implementation 'org.swingexplorer:swexpl:2.0' |
|
|
|
|
implementation 'org.swingexplorer:swag:1.0' |
|
|
|
|
implementation 'org.apache.tomcat:tomcat-catalina:8.5.32' |
|
|
|
|
implementation 'mysql:mysql-connector-java:5.1.44' |
|
|
|
|
implementation 'com.fr.third:jxbrowser:6.23.1' |
|
|
|
|
implementation 'com.fr.third:jxbrowser-mac:6.23.1' |
|
|
|
|
testImplementation 'junit:junit:4.12' |
|
|
|
|
testImplementation 'org.easymock:easymock:3.5.1' |
|
|
|
|
implementation fileTree(dir: 'lib', include: ['**/*.jar']) |
|
|
|
|
implementation fileTree(dir: libPath, include: ['**/*.jar']) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
group = 'com.fr.plugin' |
|
|
|
@ -58,8 +41,7 @@ ant.importBuild("ant_build.xml")
|
|
|
|
|
//定义ant变量 |
|
|
|
|
ant.projectDir = projectDir |
|
|
|
|
ant.references["compile.classpath"] = ant.path { |
|
|
|
|
fileset(dir: "lib", includes: '*.jar') |
|
|
|
|
fileset(dir: "$projectDir/webroot/WEB-INF/lib", includes: '**/*.jar') |
|
|
|
|
fileset(dir: libPath, includes: '**/*.jar') |
|
|
|
|
fileset(dir: ".",includes:"**/*.jar" ) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -90,7 +72,9 @@ task makeJar(type: Jar,dependsOn: preJar){
|
|
|
|
|
|
|
|
|
|
task copyFile(type: Copy,dependsOn: ["jar"]){ |
|
|
|
|
from "$buildDir/libs" |
|
|
|
|
from "$projectDir/lib" |
|
|
|
|
from("$projectDir/lib") { |
|
|
|
|
include "*.jar" |
|
|
|
|
} |
|
|
|
|
from "$projectDir/plugin.xml" |
|
|
|
|
into file("$buildDir/temp/fr-"+"$project.name"+"-$project.version") |
|
|
|
|
} |
|
|
|
|