Skip to content

Commit

Permalink
Refactor mantis-examples-twitter-sample 3rd party dependency specific…
Browse files Browse the repository at this point in the history
…ations

first pass at refactor 3rd party dependency specifications for mantis-examples-twitter-sample and corresponding changes to root build.gradle (issue Netflix#345)
  • Loading branch information
mabelbot committed Mar 2, 2023
1 parent 720f4cd commit 4c82455
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ext.versions = [
guiceServletVersion : '4.0',
hadoop : "2.7.7",
hdrHistogramVersion : '2.+',
httpComponentsVersion : '4.5.6',
httpComponentsVersion : '4.5.9',
icebergVersion : "0.14.+",
jacksonVersion : '2.12.+',
jctoolsVersion : "1.+",
Expand Down Expand Up @@ -130,6 +130,7 @@ ext.libraries = [
hadoopS3 : "org.apache.hadoop:hadoop-aws:${versions.hadoop}",
hamcrest : "org.hamcrest:hamcrest-core:1.3",
hamcrestAll : "org.hamcrest:hamcrest-all:1.3",
hbcCore : "com.twitter:hbc-core:2.2.0",
hdrHistogram : "org.hdrhistogram:HdrHistogram:${versions.hdrHistogramVersion}",
httpClient : "org.apache.httpcomponents:httpclient:${versions.httpComponentsVersion}",
iceberg : [
Expand Down
8 changes: 4 additions & 4 deletions mantis-examples/mantis-examples-twitter-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apply plugin: 'java-library'

configurations.all {
resolutionStrategy {
force "com.google.guava:guava:31.1-jre"
force "org.apache.httpcomponents:httpclient:4.5.9"
force libraries.guava
force libraries.httpClient
}
}

Expand All @@ -15,8 +15,8 @@ task execute(type: JavaExec) {

dependencies {
implementation project(':mantis-runtime')
implementation "com.netflix.spectator:spectator-api:1.3.+"
implementation 'com.twitter:hbc-core:2.2.0'
implementation libraries.spectatorApi
implementation libraries.hbcCore

implementation libraries.slf4jApi
implementation libraries.slf4jLog4j12
Expand Down

0 comments on commit 4c82455

Please sign in to comment.