Skip to content

Commit

Permalink
Use new dependency scopes instead of deprecated ones
Browse files Browse the repository at this point in the history
  • Loading branch information
basoko committed Jun 2, 2020
1 parent 06df395 commit 0905c15
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions rollbar-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ buildscript {
apply plugin: "nebula.integtest"

dependencies {
compile project(':rollbar-api')
api project(':rollbar-api')

compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
api group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'

compileOnly 'com.google.code.findbugs:jsr305:3.0.2'

integTestCompile group: 'com.github.tomakehurst', name: 'wiremock', version: '2.11.0'
integTestCompile group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
integTestImplementation group: 'com.github.tomakehurst', name: 'wiremock', version: '2.11.0'
integTestImplementation group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
}
4 changes: 2 additions & 2 deletions rollbar-log4j2/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
compile project(':rollbar-java')
api project(':rollbar-java')

compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.0'
api group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.0'
}
6 changes: 3 additions & 3 deletions rollbar-logback/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies {
compile project(':rollbar-java')
api project(':rollbar-java')

compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3'
api group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
api group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3'
}
2 changes: 1 addition & 1 deletion rollbar-spring-boot-webmvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ext {
}

dependencies {
compile project(':rollbar-spring-webmvc')
api project(':rollbar-spring-webmvc')

implementation 'org.springframework.boot:spring-boot:' + springBootVersion
implementation group: 'javax.servlet', name: 'javax.servlet-api', version: javaxServletVersion
Expand Down
2 changes: 1 addition & 1 deletion rollbar-spring-webmvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ext {
}

dependencies {
compile project(":rollbar-web")
api project(":rollbar-web")
implementation 'org.springframework:spring-webmvc:' + springWebmvcVersion
implementation group: 'javax.servlet', name: 'javax.servlet-api', version: javaxServletVersion
}
4 changes: 2 additions & 2 deletions rollbar-web/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies {
compile project(':rollbar-java')
api project(':rollbar-java')

compileOnly group: 'javax.servlet', name: 'javax.servlet-api', version: '3.1.0'

testCompile group: 'javax.servlet', name: 'javax.servlet-api', version: '3.1.0'
testImplementation group: 'javax.servlet', name: 'javax.servlet-api', version: '3.1.0'
}

0 comments on commit 0905c15

Please sign in to comment.