123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- def SpringVersion = '4.3.10.RELEASE'
- def JettyVersion = '9.2.14.v20151106'
- def ShiroVersion = '1.4.1'
- subprojects {
- apply plugin: 'java'
- apply plugin: 'eclipse'
-
- version = '1.0'
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- [compileJava, compileTestJava]*.options*.encoding = "UTF-8"
-
- repositories {
- mavenCentral()
- }
- configurations {
- all*.exclude group: 'commons-logging', module: 'commons-logging'
- }
-
- task copyLibDir(type: Sync, dependsOn: jar) {
- from configurations.compile
- from jar.archivePath
- into 'build/deploy'
- }
-
- task copyWebappDir(type: Sync) {
- from 'src/main/webapp'
- into 'build/deploy/webapp'
- }
- }
- project(':bore-core') {
- jar.exclude 'logback-test.xml'
- jar.exclude 'config.properties'
- jar.exclude 'env.properties'
- dependencies{
- compile fileTree( dir: "lib", include: '*.jar' )
-
- compile 'org.slf4j:slf4j-api:1.7.21'
- compile 'org.slf4j:jcl-over-slf4j:1.7.21'
- compile 'org.slf4j:jul-to-slf4j:1.7.21'
- compile 'org.slf4j:log4j-over-slf4j:1.7.21'
- compile 'ch.qos.logback:logback-classic:1.1.7'
- compile 'com.fasterxml.jackson.core:jackson-databind:2.8.5'
- compile 'com.google.guava:guava:20.0'
- compile 'org.javassist:javassist:3.22.0-CR1'
- compile "org.springframework:spring-aspects:${SpringVersion}"
- compile "org.springframework:spring-context:${SpringVersion}"
- compile "org.springframework:spring-context-support:${SpringVersion}"
- compile "org.springframework:spring-jdbc:${SpringVersion}"
- compile "org.springframework:spring-web:${SpringVersion}"
- compile "org.springframework:spring-webmvc:${SpringVersion}"
- compile "org.eclipse.jetty:jetty-server:${JettyVersion}"
- compile "org.eclipse.jetty:jetty-webapp:${JettyVersion}"
- compile "org.eclipse.jetty:jetty-annotations:${JettyVersion}"
- compile "org.eclipse.jetty:jetty-jmx:${JettyVersion}"
- compile 'mysql:mysql-connector-java:5.1.35'
- compile 'org.reflections:reflections:0.9.10'
- compile 'redis.clients:jedis:2.7.3'
- compile 'org.apache.httpcomponents:httpclient:4.5.2'
- compile 'commons-beanutils:commons-beanutils:1.8.3'
- compile 'org.apache.commons:commons-lang3:3.5'
- compile 'joda-time:joda-time:2.9.6'
- compile 'com.alibaba:druid:1.0.27'
- compile 'org.mozilla:rhino:1.7.7'
- compile 'javax.xml.bind:jaxb-api:2.2.12'
- compile 'com.alibaba:fastjson:1.2.20'
- compile 'commons-pool:commons-pool:1.6'
- compile 'commons-fileupload:commons-fileupload:1.3.2'
- compile 'commons-collections:commons-collections:3.2.2'
- compile 'org.bouncycastle:bcprov-jdk16:1.45'
- compile 'commons-codec:commons-codec:1.10'
- compile 'org.hibernate:hibernate-validator:5.2.1.Final'
- compile 'javax.el:javax.el-api:3.0.1-b06'
- compile 'com.google.zxing:core:3.1.0'
- compile 'com.google.zxing:javase:3.1.0'
- compile 'javax.mail:mail:1.5.0-b01'
- compile 'org.apache.poi:poi-ooxml:4.0.1'
-
- compile 'com.thoughtworks.xstream:xstream:1.4.8'
- compile 'xpp3:xpp3_min:1.1.4c'
- compile 'com.google.protobuf:protobuf-java:2.4.1'
- compile 'org.json:json:20090211'
-
- compile 'com.aliyun:aliyun-java-sdk-core:3.0.5'
- compile 'com.aliyun:aliyun-java-sdk-sts:2.1.6'
- compile 'com.aliyun.oss:aliyun-sdk-oss:2.5.0'
- compile 'com.aliyun.mns:aliyun-sdk-mns:1.1.8'
-
- compile 'net.coobird:thumbnailator:0.4.8'
-
- compile 'io.springfox:springfox-swagger2:2.7.0'
-
- compile 'org.projectlombok:lombok:1.18.12'
-
- annotationProcessor 'org.projectlombok:lombok:1.18.12'
-
- testCompile "org.springframework:spring-test:${SpringVersion}"
- testCompile 'junit:junit:4.11'
- }
- task deploy(dependsOn: [copyLibDir, copyWebappDir])
- }
- project(':bore-logic') {
- dependencies{
- compile project(':bore-core')
- compile fileTree( dir: "lib", include: '*.jar' )
-
- annotationProcessor 'org.projectlombok:lombok:1.18.12'
-
- testCompile "org.springframework:spring-test:${SpringVersion}"
- testCompile 'junit:junit:4.11'
- }
- task deploy(dependsOn: [copyLibDir, copyWebappDir])
- }
- project(':bore-admin') {
- dependencies{
- compile project(':bore-core')
- compile fileTree( dir: "lib", include: '*.jar' )
- compile 'jstl:jstl:1.2'
- compile "org.eclipse.jetty:jetty-jsp:${JettyVersion}"
- compile "org.apache.shiro:shiro-core:${ShiroVersion}"
- compile "org.apache.shiro:shiro-web:${ShiroVersion}"
- compile "org.apache.shiro:shiro-spring:${ShiroVersion}"
-
- annotationProcessor 'org.projectlombok:lombok:1.18.12'
-
- testCompile "org.springframework:spring-test:${SpringVersion}"
- testCompile 'junit:junit:4.11'
- }
- task deploy(dependsOn: [copyLibDir, copyWebappDir])
- }
- project(':bore-web') {
- dependencies{
- compile project(':bore-core')
- compile fileTree( dir: "lib", include: '*.jar' )
- compile 'jstl:jstl:1.2'
- compile "org.eclipse.jetty:jetty-jsp:${JettyVersion}"
-
- annotationProcessor 'org.projectlombok:lombok:1.18.12'
-
- testCompile "org.springframework:spring-test:${SpringVersion}"
- testCompile 'junit:junit:4.11'
- }
- task deploy(dependsOn: [copyLibDir, copyWebappDir])
- }
- project(':bore-task') {
- dependencies{
- compile project(':bore-core')
- compile fileTree( dir: "lib", include: '*.jar' )
- compile 'org.quartz-scheduler:quartz:2.2.2'
- compile 'org.jsoup:jsoup:1.10.2'
-
- compile 'com.aliyun:aliyun-java-sdk-core:3.0.5'
- compile 'com.aliyun:aliyun-java-sdk-sts:2.1.6'
- compile 'com.aliyun.oss:aliyun-sdk-oss:2.5.0'
- compile 'com.aliyun.mns:aliyun-sdk-mns:1.1.8'
-
- annotationProcessor 'org.projectlombok:lombok:1.18.12'
-
- testCompile "org.springframework:spring-test:${SpringVersion}"
- testCompile 'junit:junit:4.11'
- }
- task deploy(dependsOn: [copyLibDir, copyWebappDir])
- }
|