HHH-8601 remove slf4j infavor of log4j

This commit is contained in:
Strong Liu 2013-10-10 01:14:26 +08:00
parent d1aef40dcb
commit d476eb7e16
3 changed files with 3 additions and 7 deletions

View File

@ -124,8 +124,7 @@ subprojects { subProject ->
testCompile( libraries.byteman_install ) testCompile( libraries.byteman_install )
testCompile( libraries.byteman_bmunit ) testCompile( libraries.byteman_bmunit )
testRuntime( libraries.slf4j_api ) testRuntime( libraries.log4j )
testRuntime( libraries.slf4j_log4j12 )
testRuntime( libraries.javassist ) testRuntime( libraries.javassist )
testRuntime( libraries.h2 ) testRuntime( libraries.h2 )

View File

@ -79,7 +79,7 @@ task buildTutorialZip(type: Zip) {
from 'src/main/docbook/quickstart/tutorials' from 'src/main/docbook/quickstart/tutorials'
expand( expand(
version: project.version, version: project.version,
slf4j: parent.slf4jVersion, slf4j: "1.7.5",
junit: parent.junitVersion, junit: parent.junitVersion,
h2: parent.h2Version h2: parent.h2Version
) )

View File

@ -27,7 +27,6 @@
// use. In that respect it serves a role similar to <dependencyManagement> in Maven // use. In that respect it serves a role similar to <dependencyManagement> in Maven
ext { ext {
slf4jVersion = '1.7.5'
junitVersion = '4.11' junitVersion = '4.11'
h2Version = '1.2.145' h2Version = '1.2.145'
bytemanVersion = '2.1.2' bytemanVersion = '2.1.2'
@ -80,9 +79,7 @@ ext {
// ~~~~~~~~~~~~~~~~~~~~~~~~~~ testing // ~~~~~~~~~~~~~~~~~~~~~~~~~~ testing
// logging for testing // logging for testing
slf4j_api: "org.slf4j:slf4j-api:${slf4jVersion}", log4j: "log4j:log4j:1.2.17",
slf4j_log4j12: "org.slf4j:slf4j-log4j12:${slf4jVersion}",
junit: "junit:junit:${junitVersion}", junit: "junit:junit:${junitVersion}",
byteman: "org.jboss.byteman:byteman:${bytemanVersion}", byteman: "org.jboss.byteman:byteman:${bytemanVersion}",
byteman_install: "org.jboss.byteman:byteman-install:${bytemanVersion}", byteman_install: "org.jboss.byteman:byteman-install:${bytemanVersion}",