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 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")
|
||||
)
|
||||
|
|
|
@ -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 */))
|
||||
}
|
||||
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue