Skip to content

Commit

Permalink
Refactor mantis-examples-jobconnector-sample 3rd party dependency spe…
Browse files Browse the repository at this point in the history
…cifications

first pass at refactor 3rd party dependency specifications for mantis-examples-jobconnector-sample and corresponding changes to root build.gradle (issue Netflix#345)
  • Loading branch information
mabelbot committed Mar 2, 2023
1 parent 4a44dfc commit f74ba90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ ext.versions = [
junit4 : "4.11",
junit5 : "5.4.+",
kafkaVersion : "2.2.+",
mantisConnectorsVersion : '1.2.5',
mantisRxControlVersion : '1.3.+',
mesosVersion : '1.7.2',
mockito : "2.18.+",
Expand Down Expand Up @@ -153,6 +154,7 @@ ext.libraries = [
"org.junit.jupiter:junit-jupiter-params:${versions.junit5}",
],
kafkaClients : "org.apache.kafka:kafka-clients:${versions.kafkaVersion}",
mantisConnectorJob : "io.mantisrx:mantis-connector-job:${versions.mantisConnectorsVersion}",
mantisShaded : "io.mantisrx:mantis-shaded:2.0.2",
mantisRxControl: "io.mantisrx:mantis-rxcontrol:${versions.mantisRxControlVersion}",
mesos : "org.apache.mesos:mesos:${versions.mesosVersion}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'java-library'

configurations.all {
resolutionStrategy {
force "com.google.guava:guava:31.1-jre"
force libraries.guava

}
}
Expand All @@ -12,15 +12,12 @@ task execute(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
}

ext {
mantisConnectorsVersion = '1.2.5'
}

dependencies {
api libraries.mantisShaded

implementation project(':mantis-runtime')
implementation "io.mantisrx:mantis-connector-job:$mantisConnectorsVersion"
implementation libraries.mantisConnectorJob

implementation libraries.slf4jApi
implementation libraries.slf4jLog4j12
Expand Down

0 comments on commit f74ba90

Please sign in to comment.