Skip to content

Commit 4cc6b0a

Browse files
authored
Depend on USI artifacts. (#72)
Summary: We will no longer depend on USI as a source dependencies but on its artifacts.
1 parent 0fd1ea6 commit 4cc6b0a

File tree

2 files changed

+10
-15
lines changed

2 files changed

+10
-15
lines changed

build.gradle

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ plugins {
99

1010
repositories {
1111
jcenter()
12+
maven {
13+
name "Mesosphere Public Repo"
14+
url "https://downloads.mesosphere.com/maven"
15+
}
1216
}
1317

1418
ext {
15-
usiBranch = 'master'
19+
usiVersion= '0.1.5'
1620
scalaVersion = '2.12'
1721
akkaVersion = '2.5.19'
1822
}
@@ -21,10 +25,10 @@ dependencies {
2125
// This dependency is exported to consumers, that is to say found on their compile classpath.
2226
api 'org.apache.commons:commons-math3:3.6.1'
2327
api 'com.google.guava:guava:26.0-jre'
24-
api ('com.mesosphere.usi:core') { version { branch = usiBranch } }
25-
api ('com.mesosphere.usi:core-models') { version { branch = usiBranch } }
26-
api ('com.mesosphere.usi:mesos-client') { version { branch = usiBranch } }
27-
api ('com.mesosphere.usi:persistence') { version { branch = usiBranch } }
28+
api group: 'com.mesosphere.usi', name: 'core', version: usiVersion
29+
api group: 'com.mesosphere.usi', name: 'core-models', version: usiVersion
30+
api group: 'com.mesosphere.usi', name: 'mesos-client', version: usiVersion
31+
api group: 'com.mesosphere.usi', name: 'persistence', version: usiVersion
2832
api group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
2933

3034
// Test dependencies
@@ -33,7 +37,7 @@ dependencies {
3337
testImplementation 'org.glassfish:javax.json:1.0.4'
3438
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
3539
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
36-
testImplementation('com.mesosphere.usi:test-utils') { version { branch = usiBranch } }
40+
testImplementation group: 'com.mesosphere.usi', name: 'test-utils', version: usiVersion
3741
testImplementation 'org.awaitility:awaitility:3.1.6'
3842

3943
compileOnly 'com.github.spotbugs:spotbugs-annotations:3.1.3'

settings.gradle

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
11
rootProject.name = 'mesos'
2-
3-
sourceControl {
4-
gitRepository("https://github.com/mesosphere/usi.git") {
5-
producesModule("com.mesosphere.usi:core")
6-
producesModule("com.mesosphere.usi:core-models")
7-
producesModule("com.mesosphere.usi:mesos-client")
8-
producesModule("com.mesosphere.usi:test-utils")
9-
}
10-
}

0 commit comments

Comments
 (0)