|
@@ -7,12 +7,22 @@ defaultTasks "clean", "build"
|
|
|
|
|
|
ext {
|
|
|
jackson2Version = "2.9.8"
|
|
|
- log4jVersion = "2.11.2"
|
|
|
- springVersion = "5.1.6.RELEASE"
|
|
|
+ log4jVersion = "2.12.0"
|
|
|
+ springVersion = "5.1.8.RELEASE"
|
|
|
+ springBootVersion = "2.1.6.RELEASE"
|
|
|
springSecurityVersion= "5.1.5.RELEASE"
|
|
|
hibernateVersion = "5.4.2.Final"
|
|
|
+ slf4jVersion = "1.7.26"
|
|
|
+ jacksonVersion = "2.9.9"
|
|
|
}
|
|
|
|
|
|
+configurations.all {
|
|
|
+ transitive = false// 为本依赖关闭依赖传递特性
|
|
|
+ // 所有需要忽略的包定义在此
|
|
|
+ //all*.exclude group: 'commons-logging'
|
|
|
+ //exclude group: 'org.slf4j', module: 'slf4j-api'
|
|
|
+ //compile.exclude module: 'commons'
|
|
|
+}
|
|
|
// Apply the java plugin to add support for Java
|
|
|
//apply plugin: 'java'
|
|
|
allprojects {
|
|
@@ -48,6 +58,14 @@ allprojects {
|
|
|
|
|
|
}
|
|
|
|
|
|
+buildscript {
|
|
|
+ repositories {
|
|
|
+ mavenCentral()
|
|
|
+ }
|
|
|
+ dependencies {
|
|
|
+ // classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.6.RELEASE")
|
|
|
+ }
|
|
|
+}
|
|
|
|
|
|
// In this section you declare where to find the dependencies of your project
|
|
|
repositories {
|
|
@@ -59,7 +77,9 @@ repositories {
|
|
|
}
|
|
|
|
|
|
subprojects {
|
|
|
-
|
|
|
+ //apply plugin: 'org.springframework.boot'
|
|
|
+ //apply plugin: 'io.spring.dependency-management'
|
|
|
+
|
|
|
sourceSets {
|
|
|
main {
|
|
|
java {
|
|
@@ -88,6 +108,156 @@ subprojects {
|
|
|
compileOnly group: 'javax.servlet', name: 'javax.servlet-api', version: '3.0.1'
|
|
|
compileOnly group: 'javax.servlet', name: 'jstl', version: '1.2'
|
|
|
compileOnly group: 'javax.servlet', name: 'jsp-api', version: '2.0'
|
|
|
+
|
|
|
+ compile group: 'org.jboss.logging', name: 'jboss-logging', version: '3.4.0.Final'
|
|
|
+
|
|
|
+ compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.9.3'
|
|
|
+ compile group: 'commons-codec', name: 'commons-codec', version: '1.12'
|
|
|
+ compile group: 'commons-collections', name: 'commons-collections', version: '3.2.2'
|
|
|
+ compile group: 'org.apache.commons', name: 'commons-csv', version: '1.7'
|
|
|
+ compile group: 'org.apache.commons', name: 'commons-dbcp2', version: '2.6.0'
|
|
|
+ //compile group: 'commons-dbcp', name: 'commons-dbcp', version: '1.4'
|
|
|
+ compile group: 'commons-dbutils', name: 'commons-dbutils', version: '1.7'
|
|
|
+ compile group: 'org.apache.commons', name: 'commons-digester3', version: '3.2'
|
|
|
+ compile group: 'commons-digester', name: 'commons-digester', version: '2.1'
|
|
|
+ compile group: 'commons-io', name: 'commons-io', version: '2.6'
|
|
|
+ compile group: 'commons-lang', name: 'commons-lang', version: '2.6'
|
|
|
+ compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
|
|
|
+ compile group: 'commons-logging', name: 'commons-logging', version: '1.2'
|
|
|
+ compile group: 'org.apache.commons', name: 'commons-pool2', version: '2.6.2'
|
|
|
+ compile group: 'commons-httpclient', name: 'commons-httpclient', version: '3.1'
|
|
|
+ compile group: 'commons-fileupload', name: 'commons-fileupload', version: '1.4'
|
|
|
+ compile group: 'org.apache.commons', name: 'commons-email', version: '1.5'
|
|
|
+ compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.6'
|
|
|
+ compile group: 'org.apache.httpcomponents', name: 'fluent-hc', version: '4.5.6'
|
|
|
+ compile group: 'org.apache.httpcomponents', name: 'httpclient-cache', version: '4.5.6'
|
|
|
+ compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.5.6'
|
|
|
+ compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.10'
|
|
|
+ compile group: 'org.apache.velocity', name: 'velocity', version: '1.7'
|
|
|
+ compile group: 'velocity', name: 'velocity-dep', version: '1.4'
|
|
|
+ testCompile group: 'org.apache.commons', name: 'not-yet-commons-ssl', version: '0.3.9'
|
|
|
+
|
|
|
+ compile group: 'org.apache.logging.log4j', name: 'log4j-1.2-api', version: "${log4jVersion}"
|
|
|
+ compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: "${log4jVersion}"
|
|
|
+ compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: "${log4jVersion}"
|
|
|
+ compile group: 'org.apache.logging.log4j', name: 'log4j-jcl', version: "${log4jVersion}"
|
|
|
+ compile group: 'org.apache.logging.log4j', name: 'log4j-jul', version: "${log4jVersion}"
|
|
|
+ compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: "${log4jVersion}"
|
|
|
+ compile group: 'org.apache.logging.log4j', name: 'log4j-web', version: "${log4jVersion}"
|
|
|
+ compile group: 'org.slf4j', name: 'slf4j-api', version: "${slf4jVersion}"
|
|
|
+
|
|
|
+ compile group: 'org.springframework', name: 'spring-webmvc', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-core', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-aop', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-aspects', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-context', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-context-index', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-core', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-expression', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-instrument', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-jcl', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-jdbc', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-jms', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-messaging', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-orm', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-oxm', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-test', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-tx', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-web', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-webflux', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-websocket', version: "${springVersion}"
|
|
|
+
|
|
|
+ compile group: 'org.springframework.security', name: 'spring-security-core', version: "${springSecurityVersion}"
|
|
|
+ compile group: 'org.springframework.security', name: 'spring-security-web', version: "${springSecurityVersion}"
|
|
|
+ compile group: 'org.springframework.security', name: 'spring-security-crypto', version: "${springSecurityVersion}"
|
|
|
+
|
|
|
+ compile group: 'org.opensaml', name: 'opensaml', version: '2.6.4'
|
|
|
+ compile group: 'org.opensaml', name: 'openws', version: '1.5.4'
|
|
|
+ compile group: 'org.opensaml', name: 'xmltooling', version: '1.4.4'
|
|
|
+
|
|
|
+ compile group: 'org.javassist', name: 'javassist', version: '3.23.0-GA'
|
|
|
+ compile group: 'javax.activation', name: 'activation', version: '1.1.1'
|
|
|
+ compile group: 'com.sun.mail', name: 'javax.mail', version: '1.6.2'
|
|
|
+ compile group: 'javax.transaction', name: 'jta', version: '1.1'
|
|
|
+ compile group: 'taglibs', name: 'standard', version: '1.1.2'
|
|
|
+ compile group: 'javax.servlet.jsp.jstl', name: 'jstl', version: '1.2'
|
|
|
+ compile group: 'javax.transaction', name: 'javax.transaction-api', version: '1.3'
|
|
|
+ compile group: 'javax.validation', name: 'validation-api', version: '2.0.1.Final'
|
|
|
+ compile group: 'org.owasp.esapi', name: 'esapi', version: '2.2.0.0'
|
|
|
+
|
|
|
+ compile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.60'
|
|
|
+ compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.60'
|
|
|
+ compile group: 'org.bouncycastle', name: 'bcprov-ext-jdk15on', version: '1.60'
|
|
|
+ compile group: 'com.google.crypto.tink', name: 'tink', version: '1.2.2'
|
|
|
+
|
|
|
+ compile group: 'com.github.penggle', name: 'kaptcha', version: '2.3.2'
|
|
|
+
|
|
|
+ compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
|
|
|
+ compile group: 'org.codehaus.jackson', name: 'jackson-all', version: '1.8.5'
|
|
|
+ compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${jacksonVersion}"
|
|
|
+ compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: "${jacksonVersion}"
|
|
|
+ compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: "${jacksonVersion}"
|
|
|
+ compile group: 'com.fasterxml', name: 'classmate', version: '1.5.0'
|
|
|
+
|
|
|
+ compile group: 'org.reactivestreams', name: 'reactive-streams', version: '1.0.2'
|
|
|
+ compile group: 'io.projectreactor', name: 'reactor-core', version: '3.2.10.RELEASE'
|
|
|
+ compile group: 'eu.tekul', name: 'szxcvbn_2.9.2', version: '0.2'
|
|
|
+
|
|
|
+ compile group: 'org.quartz-scheduler', name: 'quartz', version: '2.2.3'
|
|
|
+
|
|
|
+ compile group: 'redis.clients', name: 'jedis', version: '3.0.1'
|
|
|
+ compile group: 'org.ehcache', name: 'ehcache', version: '3.5.3'
|
|
|
+ compile group: 'org.mybatis', name: 'mybatis', version: '3.5.1'
|
|
|
+ compile group: 'org.mybatis', name: 'mybatis-spring', version: '2.0.1'
|
|
|
+ compile group: 'mysql', name: 'mysql-connector-java', version: '5.1.47'
|
|
|
+ compile group: 'com.mchange', name: 'c3p0', version: '0.9.5.4'
|
|
|
+ compile group: 'com.mchange', name: 'mchange-commons-java', version: '0.2.16'
|
|
|
+ compile group: 'org.hibernate.validator', name: 'hibernate-validator', version: '6.0.17.Final'
|
|
|
+ compile group: 'org.hibernate', name: 'hibernate-validator-cdi', version: '6.0.17.Final'
|
|
|
+ compile group: 'org.hibernate.validator', name: 'hibernate-validator-annotation-processor', version: '6.0.17.Final'
|
|
|
+
|
|
|
+
|
|
|
+ compile group: 'net.jradius', name: 'jradius-core', version: '1.1.5'
|
|
|
+ compile group: 'net.jradius', name: 'jradius-dictionary', version: '1.1.5'
|
|
|
+
|
|
|
+ compile group: 'joda-time', name: 'joda-time', version: '2.10'
|
|
|
+ compile group: 'org.yaml', name: 'snakeyaml', version: '1.24'
|
|
|
+ compile group: 'net.sourceforge.nekohtml', name: 'nekohtml', version: '1.9.22'
|
|
|
+ compile group: 'org.jdom', name: 'jdom', version: '2.0.2'
|
|
|
+ compile group: 'com.google.zxing', name: 'core', version: '3.4.0'
|
|
|
+ compile group: 'com.google.guava', name: 'guava', version: '27.1-jre'
|
|
|
+ compile group: 'ognl', name: 'ognl', version: '3.2.9'
|
|
|
+ compile group: 'cglib', name: 'cglib', version: '3.2.12'
|
|
|
+ compile group: 'org.ow2.asm', name: 'asm', version: '7.0'
|
|
|
+ compile group: 'aopalliance', name: 'aopalliance', version: '1.0'
|
|
|
+ compile group: 'org.aspectj', name: 'aspectjtools', version: '1.9.4'
|
|
|
+ compile group: 'dom4j', name: 'dom4j', version: '1.6.1'
|
|
|
+ compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
|
|
|
+ compile group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.3.1'
|
|
|
+ compile group: 'javax.xml', name: 'jsr173', version: '1.0'
|
|
|
+ compile group: 'xalan', name: 'serializer', version: '2.7.2'
|
|
|
+ compile group: 'xalan', name: 'xalan', version: '2.7.2'
|
|
|
+ compile group: 'xerces', name: 'xercesImpl', version: '2.12.0'
|
|
|
+ compile group: 'xml-apis', name: 'xml-apis', version: '1.0.b2'
|
|
|
+ compile group: 'xml-resolver', name: 'xml-resolver', version: '1.2'
|
|
|
+ compile group: 'org.apache.santuario', name: 'xmlsec', version: '1.5.8'
|
|
|
+ compile group: 'org.ogce', name: 'xpp3', version: '1.1.6'
|
|
|
+ compile group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.4.10'
|
|
|
+ testCompile group: 'xmlunit', name: 'xmlunit', version: '1.6'
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ compile group: 'com.belerweb', name: 'pinyin4j', version: '2.5.1'
|
|
|
+
|
|
|
+
|
|
|
+ compile group: 'org.springframework.boot', name: 'spring-boot', version: "${springBootVersion}"
|
|
|
+ compile group: 'org.springframework.boot', name: 'spring-boot-starter', version: "${springBootVersion}"
|
|
|
+ compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: "${springBootVersion}"
|
|
|
+ testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: "${springBootVersion}"
|
|
|
+ testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
|
|
|
+
|
|
|
+ //compile("org.springframework.boot:spring-boot-starter-web")
|
|
|
+ //testCompile('org.springframework.boot:spring-boot-starter-test')
|
|
|
}
|
|
|
|
|
|
|
|
@@ -143,8 +313,6 @@ subprojects {
|
|
|
task copyotherWar2Release(type: Copy) {
|
|
|
into "$rootDir/build/"
|
|
|
from "$buildDir/libs/"
|
|
|
- include '*i18n*.war'
|
|
|
- include '*browserlauncher*.war'
|
|
|
}
|
|
|
|
|
|
//task buildRelease(dependsOn:['build','war','copyjar2Release','copyWar2Release','copyotherWar2Release','copydemoWar2Release']) << {
|