Repository: incubator-s2graph Updated Branches: refs/heads/master 00e75f769 -> 701f0eeac
version up slf4j bindings. Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/187b2b55 Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/187b2b55 Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/187b2b55 Branch: refs/heads/master Commit: 187b2b55152a7515617d42a599897a8f6ef6a11c Parents: c30531b Author: DO YUNG YOON <[email protected]> Authored: Thu Jun 21 15:15:09 2018 +0900 Committer: DO YUNG YOON <[email protected]> Committed: Thu Jun 21 15:15:09 2018 +0900 ---------------------------------------------------------------------- project/Common.scala | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/187b2b55/project/Common.scala ---------------------------------------------------------------------- diff --git a/project/Common.scala b/project/Common.scala index 08552a8..0223159 100644 --- a/project/Common.scala +++ b/project/Common.scala @@ -39,12 +39,16 @@ object Common { val tensorflowVersion = "1.7.0" + val log4jVersion = "1.2.17" + + val slf4jBindingVersion = "1.8.0-beta2" + /** use Log4j 1.2.17 as the SLF4j backend in runtime, with bridging libraries to forward JCL and JUL logs to SLF4j */ val loggingRuntime = Seq( - "log4j" % "log4j" % "1.2.17", - "org.slf4j" % "slf4j-log4j12" % "1.7.21", - "org.slf4j" % "jcl-over-slf4j" % "1.7.21", - "org.slf4j" % "jul-to-slf4j" % "1.7.21" + "log4j" % "log4j" % log4jVersion, + "org.slf4j" % "slf4j-log4j12" % slf4jBindingVersion, + "org.slf4j" % "jcl-over-slf4j" % slf4jBindingVersion, + "org.slf4j" % "jul-to-slf4j" % slf4jBindingVersion ).flatMap(dep => Seq(dep % "test", dep % "runtime")) /** rules to exclude logging backends and bridging libraries from dependency */ @@ -56,8 +60,7 @@ object Common { ExclusionRule("org.slf4j", "jcl-over-slf4j"), ExclusionRule("org.slf4j", "log4j-over-slf4j"), ExclusionRule("org.slf4j", "slf4j-log4j12"), - ExclusionRule("org.slf4j", "jul-to-slf4j"), - ExclusionRule("org.apache.logging.log4j", "log4j-slf4j-impl") + ExclusionRule("org.slf4j", "jul-to-slf4j") ) implicit class LoggingExcluder(moduleId: ModuleID) {
