mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
JUnit 5 dependencies.
This commit is contained in:
parent
d2ee2f7b4c
commit
5ae20fb253
1 changed files with 15 additions and 1 deletions
|
@ -33,8 +33,15 @@ object Versions {
|
||||||
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"
|
val testng = "6.11"
|
||||||
|
|
||||||
|
// JUnit 5
|
||||||
|
val junit = "4.12"
|
||||||
|
val junitPlatform = "1.0.0-M4"
|
||||||
|
val junitJupiter = "5.0.0-M4"
|
||||||
|
val junitVintageVersion = "$junit.0-M4"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
fun mavenResolver(vararg m: String)
|
fun mavenResolver(vararg m: String)
|
||||||
= m.map { "org.apache.maven.resolver:maven-resolver-$it:${Versions.mavenResolver}" }
|
= m.map { "org.apache.maven.resolver:maven-resolver-$it:${Versions.mavenResolver}" }
|
||||||
.toTypedArray()
|
.toTypedArray()
|
||||||
|
@ -117,7 +124,14 @@ val kobaltPluginApi = project {
|
||||||
"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:${Versions.testng}",
|
"org.testng:testng:${Versions.testng}",
|
||||||
"commons-io:commons-io:2.5"
|
"commons-io:commons-io:2.5",
|
||||||
|
"org.junit.platform:junit-platform-surefire-provider:${Versions.junitPlatform}",
|
||||||
|
"org.junit.platform:junit-platform-runner:${Versions.junitPlatform}",
|
||||||
|
"org.junit.platform:junit-platform-engine:${Versions.junitPlatform}",
|
||||||
|
"org.junit.platform:junit-platform-console:${Versions.junitPlatform}",
|
||||||
|
"org.junit.jupiter:junit-jupiter-engine:${Versions.junitJupiter}",
|
||||||
|
"org.junit.vintage:junit-vintage-engine:${Versions.junitVintageVersion}"
|
||||||
|
|
||||||
)
|
)
|
||||||
exclude(*aether("impl", "spi", "util", "api"))
|
exclude(*aether("impl", "spi", "util", "api"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue