1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 07:57:12 -07:00

Updated to testng 6.11

This commit is contained in:
Erik C. Thauvin 2017-03-26 12:21:48 -07:00
parent f9206efaa0
commit fae512f639
3 changed files with 5 additions and 4 deletions

View file

@ -31,6 +31,7 @@ object Versions {
val slf4j = "1.7.3"
val kotlin = "1.1.1"
val aether = "1.0.2.v20150114"
val testng = "6.11"
}
fun mavenResolver(vararg m: String)
@ -113,7 +114,7 @@ val kobaltPluginApi = project {
*mavenResolver("api", "spi", "util", "impl", "connector-basic", "transport-http", "transport-file"),
"org.apache.maven:maven-aether-provider:3.3.9",
"org.testng.testng-remote:testng-remote:1.3.0",
"org.testng:testng:6.10"
"org.testng:testng:${Versions.testng}"
)
exclude(*aether("impl", "spi", "util", "api"))
}
@ -183,7 +184,7 @@ val kobaltApp = project(kobaltPluginApi, wrapper) {
}
dependenciesTest {
compile("org.testng:testng:6.10",
compile("org.testng:testng:${Versions.testng}",
"org.assertj:assertj-core:3.4.1",
*mavenResolver("util")
)

View file

@ -158,7 +158,7 @@ class TestNgRunner : GenericTestRunner() {
val dep = with(context.dependencyManager) {
val jf = create("org.testng.testng-remote:testng-remote:1.3.0")
val tr = create("org.testng.testng-remote:$remoteRunnerVersion:1.3.0")
val testng = create("org.testng:testng:6.10")
val testng = create("org.testng:testng:6.11")
transitiveClosure(kotlin.collections.listOf(jf, tr /*, testng */))
}

View file

@ -38,7 +38,7 @@ val p = {{directive}} {
}
dependenciesTest {
compile("org.testng:testng:6.10")
compile("org.testng:testng:6.11")
{{#testDependencies}}
compile("{{groupId}}:{{artifactId}}:{{version}}")
{{/testDependencies}}