|
@@ -22,7 +22,11 @@ configurations.all {
|
|
|
//all*.exclude group: 'commons-logging'
|
|
|
//exclude group: 'org.slf4j', module: 'slf4j-api'
|
|
|
//compile.exclude module: 'commons'
|
|
|
+ //all*.exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
|
|
|
+ //all*.exclude group: 'org.apache.logging.log4j', name: 'log4j-to-slf4j'
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
// Apply the java plugin to add support for Java
|
|
|
//apply plugin: 'java'
|
|
|
allprojects {
|
|
@@ -32,6 +36,14 @@ allprojects {
|
|
|
//apply plugin: "findbugs"
|
|
|
//apply plugin: "jdepend"
|
|
|
|
|
|
+ configurations.all {
|
|
|
+ transitive = false// äøŗę¬ä¾čµå
³éä¾čµä¼ éē¹ę§
|
|
|
+ //all*.exclude group: 'commons-logging'
|
|
|
+ //exclude group: 'org.slf4j', module: 'slf4j-api'
|
|
|
+ //compile.exclude module: 'commons'
|
|
|
+ //all*.exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
|
|
|
+ exclude(group: "org.apache.logging.log4j", module: "log4j-to-slf4j")
|
|
|
+ }
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
targetCompatibility = 1.8
|
|
@@ -80,6 +92,23 @@ subprojects {
|
|
|
//apply plugin: 'org.springframework.boot'
|
|
|
//apply plugin: 'io.spring.dependency-management'
|
|
|
|
|
|
+ //锹ē®å
|
|
|
+ println project.name
|
|
|
+ //锹ē®ēøåÆ¹č·Æå¾
|
|
|
+ println project.path
|
|
|
+ //锹ē®ęčæ°
|
|
|
+ println project.description
|
|
|
+ //锹ē®ēē»åÆ¹č·Æå¾
|
|
|
+ println project.projectDir
|
|
|
+ //锹ē®ēbuildęä»¶ē»åÆ¹č·Æå¾
|
|
|
+ println project.buildDir
|
|
|
+ //锹ē®ęåØēgroup
|
|
|
+ println project.group
|
|
|
+ //锹ē®ēēę¬å·
|
|
|
+ println project.version
|
|
|
+ //锹ē®ēant对豔
|
|
|
+ println project.ant
|
|
|
+
|
|
|
sourceSets {
|
|
|
main {
|
|
|
java {
|
|
@@ -135,8 +164,9 @@ subprojects {
|
|
|
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.freemarker', name: 'freemarker', version: '2.3.28'
|
|
|
+ //compile 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}"
|
|
@@ -146,13 +176,13 @@ subprojects {
|
|
|
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-beans', version: "${springVersion}"
|
|
|
compile group: 'org.springframework', name: 'spring-core', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-context', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-context-indexer', version: "${springVersion}"
|
|
|
+ compile group: 'org.springframework', name: 'spring-context-support', 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}"
|
|
@@ -165,31 +195,46 @@ subprojects {
|
|
|
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-webmvc', 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.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-actuator', version: "${springBootVersion}"
|
|
|
+ compile group: 'org.springframework.boot', name: 'spring-boot-autoconfigure', version: "${springBootVersion}"
|
|
|
+ compile group: 'org.springframework.boot', name: 'spring-boot-starter-freemarker', version: "${springBootVersion}"
|
|
|
+ compile group: 'org.springframework.boot', name: 'spring-boot-starter-log4j2', version: "${springBootVersion}"
|
|
|
+ compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: "${springBootVersion}"
|
|
|
+ compile group: 'org.springframework.boot', name: 'spring-boot-starter-tomcat', version: "${springBootVersion}"
|
|
|
+ testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: "${springBootVersion}"
|
|
|
+
|
|
|
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: 'org.owasp.esapi', name: 'esapi', version: '2.2.0.0'
|
|
|
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.activation', name: 'activation', version: '1.1.1'
|
|
|
+ compile group: 'javax.annotation', name: 'javax.annotation-api', version: '1.3.2'
|
|
|
+ compile group: 'javax.transaction', name: 'jta', version: '1.1'
|
|
|
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: 'javax.xml', name: 'jsr173', version: '1.0'
|
|
|
+ compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
|
|
|
|
|
|
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.jhlabs', name: 'filters', version: '2.0.235-1'
|
|
|
compile group: 'com.github.penggle', name: 'kaptcha', version: '2.3.2'
|
|
|
|
|
|
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
|
|
@@ -211,7 +256,7 @@ subprojects {
|
|
|
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: 'com.mchange', name: 'mchange-commons-java', version: '0.2.15'
|
|
|
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'
|
|
@@ -232,32 +277,33 @@ subprojects {
|
|
|
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: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.3.2'
|
|
|
+ //compile group: 'xalan', name: 'serializer', version: '2.7.2'
|
|
|
+ //compile group: 'xalan', name: 'xalan', version: '2.7.2'
|
|
|
+ //compile group: 'xml-apis', name: 'xml-apis', version: '1.4.01'
|
|
|
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')
|
|
|
+ //local jars
|
|
|
+ compile fileTree(dir: "${rootDir}/maxkey-lib/", include: '*/*.jar')
|
|
|
+
|
|
|
+ compile group: 'org.apache.tomcat.embed', name: 'tomcat-embed-core', version: '8.5.43'
|
|
|
+ compile group: 'org.apache.tomcat.embed', name: 'tomcat-embed-jasper', version: '8.5.43'
|
|
|
+ compile group: 'org.apache.tomcat.embed', name: 'tomcat-embed-logging-juli', version: '8.5.2'
|
|
|
+
|
|
|
+ //compile group: 'org.eclipse.jdt.core.compiler', name: 'ecj', version: '4.6.1'
|
|
|
+ //compile group: 'javax.el', name: 'javax.el-api', version: '3.0.0'
|
|
|
+ //compile group: 'el-impl', name: 'el-impl', version: '1.0'
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|
|
@@ -272,8 +318,8 @@ subprojects {
|
|
|
"Implementation-Version": project.version)
|
|
|
}
|
|
|
}
|
|
|
- /*
|
|
|
- task checkenv<<{
|
|
|
+
|
|
|
+ /* task checkenv<<{
|
|
|
//锹ē®å
|
|
|
println project.name
|
|
|
//锹ē®ēøåÆ¹č·Æå¾
|