mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 16:07:12 -07:00
commit
09b47a9674
3 changed files with 5 additions and 4 deletions
|
@ -31,6 +31,7 @@ object Versions {
|
||||||
val slf4j = "1.7.3"
|
val slf4j = "1.7.3"
|
||||||
val kotlin = "1.1.1"
|
val kotlin = "1.1.1"
|
||||||
val aether = "1.0.2.v20150114"
|
val aether = "1.0.2.v20150114"
|
||||||
|
val testng = "6.11"
|
||||||
}
|
}
|
||||||
|
|
||||||
fun mavenResolver(vararg m: String)
|
fun mavenResolver(vararg m: String)
|
||||||
|
@ -113,7 +114,7 @@ val kobaltPluginApi = project {
|
||||||
*mavenResolver("api", "spi", "util", "impl", "connector-basic", "transport-http", "transport-file"),
|
*mavenResolver("api", "spi", "util", "impl", "connector-basic", "transport-http", "transport-file"),
|
||||||
"org.apache.maven:maven-aether-provider:3.3.9",
|
"org.apache.maven:maven-aether-provider:3.3.9",
|
||||||
"org.testng.testng-remote:testng-remote:1.3.0",
|
"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"))
|
exclude(*aether("impl", "spi", "util", "api"))
|
||||||
}
|
}
|
||||||
|
@ -183,7 +184,7 @@ val kobaltApp = project(kobaltPluginApi, wrapper) {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependenciesTest {
|
dependenciesTest {
|
||||||
compile("org.testng:testng:6.10",
|
compile("org.testng:testng:${Versions.testng}",
|
||||||
"org.assertj:assertj-core:3.4.1",
|
"org.assertj:assertj-core:3.4.1",
|
||||||
*mavenResolver("util")
|
*mavenResolver("util")
|
||||||
)
|
)
|
||||||
|
|
|
@ -158,7 +158,7 @@ class TestNgRunner : GenericTestRunner() {
|
||||||
val dep = with(context.dependencyManager) {
|
val dep = with(context.dependencyManager) {
|
||||||
val jf = create("org.testng.testng-remote:testng-remote:1.3.0")
|
val jf = create("org.testng.testng-remote:testng-remote:1.3.0")
|
||||||
val tr = create("org.testng.testng-remote:$remoteRunnerVersion: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 */))
|
transitiveClosure(kotlin.collections.listOf(jf, tr /*, testng */))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ val p = {{directive}} {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependenciesTest {
|
dependenciesTest {
|
||||||
compile("org.testng:testng:6.10")
|
compile("org.testng:testng:6.11")
|
||||||
{{#testDependencies}}
|
{{#testDependencies}}
|
||||||
compile("{{groupId}}:{{artifactId}}:{{version}}")
|
compile("{{groupId}}:{{artifactId}}:{{version}}")
|
||||||
{{/testDependencies}}
|
{{/testDependencies}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue