Skip to content

Commit

Permalink
make SLF4J dependency optional
Browse files Browse the repository at this point in the history
  • Loading branch information
kares committed Apr 19, 2016
1 parent e05ec8f commit 74f0d4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/pom.rb
Expand Up @@ -75,7 +75,8 @@
jar 'org.jruby:joda-timezones:${tzdata.version}', :scope => '${tzdata.scope}'
jar 'joda-time:joda-time:${joda.time.version}'

jar 'org.slf4j:slf4j-api:1.7.12', :scope => 'provided'
# SLF4J only used within SLF4JLogger (JRuby logger impl) class
jar 'org.slf4j:slf4j-api:1.7.12', :scope => 'provided', :optional => true
jar 'org.slf4j:slf4j-simple:1.7.12', :scope => 'test'

plugin_management do
Expand Down
1 change: 1 addition & 0 deletions core/pom.xml
Expand Up @@ -268,6 +268,7 @@ DO NOT MODIFIY - GENERATED CODE
<artifactId>slf4j-api</artifactId>
<version>1.7.12</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Expand Down

0 comments on commit 74f0d4f

Please sign in to comment.