mirror of https://github.com/sbt/sbt.git
Cleaning
This commit is contained in:
parent
d71df26087
commit
92fa4f38db
|
|
@ -105,7 +105,8 @@ object CentralTests extends TestSuite {
|
||||||
}
|
}
|
||||||
|
|
||||||
val tests = TestSuite {
|
val tests = TestSuite {
|
||||||
'logback{
|
|
||||||
|
'logback - {
|
||||||
async {
|
async {
|
||||||
val dep = Dependency(Module("ch.qos.logback", "logback-classic"), "1.1.3")
|
val dep = Dependency(Module("ch.qos.logback", "logback-classic"), "1.1.3")
|
||||||
val res = await(resolve(Set(dep))).clearCaches
|
val res = await(resolve(Set(dep))).clearCaches
|
||||||
|
|
@ -120,7 +121,8 @@ object CentralTests extends TestSuite {
|
||||||
assert(res == expected)
|
assert(res == expected)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'asm{
|
|
||||||
|
'asm - {
|
||||||
async {
|
async {
|
||||||
val dep = Dependency(Module("org.ow2.asm", "asm-commons"), "5.0.2")
|
val dep = Dependency(Module("org.ow2.asm", "asm-commons"), "5.0.2")
|
||||||
val res = await(resolve(Set(dep))).clearCaches
|
val res = await(resolve(Set(dep))).clearCaches
|
||||||
|
|
@ -135,7 +137,8 @@ object CentralTests extends TestSuite {
|
||||||
assert(res == expected)
|
assert(res == expected)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'jodaVersionInterval{
|
|
||||||
|
'jodaVersionInterval - {
|
||||||
async {
|
async {
|
||||||
val dep = Dependency(Module("joda-time", "joda-time"), "[2.2,2.8]")
|
val dep = Dependency(Module("joda-time", "joda-time"), "[2.2,2.8]")
|
||||||
val res0 = await(resolve(Set(dep)))
|
val res0 = await(resolve(Set(dep)))
|
||||||
|
|
@ -153,19 +156,22 @@ object CentralTests extends TestSuite {
|
||||||
assert(proj.version == "2.8")
|
assert(proj.version == "2.8")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'spark{
|
|
||||||
|
'spark - {
|
||||||
resolutionCheck(
|
resolutionCheck(
|
||||||
Module("org.apache.spark", "spark-core_2.11"),
|
Module("org.apache.spark", "spark-core_2.11"),
|
||||||
"1.3.1"
|
"1.3.1"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
'argonautShapeless{
|
|
||||||
|
'argonautShapeless - {
|
||||||
resolutionCheck(
|
resolutionCheck(
|
||||||
Module("com.github.alexarchambault", "argonaut-shapeless_6.1_2.11"),
|
Module("com.github.alexarchambault", "argonaut-shapeless_6.1_2.11"),
|
||||||
"0.2.0"
|
"0.2.0"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
'snapshotMetadata{
|
|
||||||
|
'snapshotMetadata - {
|
||||||
// Let's hope this one won't change too much
|
// Let's hope this one won't change too much
|
||||||
resolutionCheck(
|
resolutionCheck(
|
||||||
Module("com.github.fommil", "java-logging"),
|
Module("com.github.fommil", "java-logging"),
|
||||||
|
|
@ -189,6 +195,7 @@ object CentralTests extends TestSuite {
|
||||||
"1.1.2"
|
"1.1.2"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
'latestRevision - {
|
'latestRevision - {
|
||||||
* - resolutionCheck(
|
* - resolutionCheck(
|
||||||
Module("com.chuusai", "shapeless_2.11"),
|
Module("com.chuusai", "shapeless_2.11"),
|
||||||
|
|
@ -210,6 +217,7 @@ object CentralTests extends TestSuite {
|
||||||
"7.0.+"
|
"7.0.+"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
'mavenScopes - {
|
'mavenScopes - {
|
||||||
def check(config: String) = resolutionCheck(
|
def check(config: String) = resolutionCheck(
|
||||||
Module("com.android.tools", "sdklib"),
|
Module("com.android.tools", "sdklib"),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue