Fix TestNG + Kobalt.
diff --git a/kobalt/src/Build.kt b/kobalt/src/Build.kt
index cc34510..4fc08a4 100644
--- a/kobalt/src/Build.kt
+++ b/kobalt/src/Build.kt
@@ -4,13 +4,14 @@
import com.beust.kobalt.api.annotation.Task
import com.beust.kobalt.plugin.java.javaProject
import com.beust.kobalt.plugin.packaging.assemble
+import com.beust.kobalt.test
import java.io.File
val VERSION = "6.9.10-SNAPSHOT"
val p = javaProject {
- name = "testNG"
+ name = "testng"
group = "org.testng"
artifactId = name
version = VERSION
@@ -29,7 +30,11 @@
}
dependenciesTest {
- compile("org.assertj:assertj-core:2.0.0")
+ compile("org.assertj:assertj-core:2.0.0", "org.testng:testng:6.9.9")
+ }
+
+ test {
+ jvmArgs("-Dtest.resources.dir=src/test/resources")
}
assemble {
diff --git a/kobalt/wrapper/kobalt-wrapper.properties b/kobalt/wrapper/kobalt-wrapper.properties
index 29f9f8a..017be3e 100644
--- a/kobalt/wrapper/kobalt-wrapper.properties
+++ b/kobalt/wrapper/kobalt-wrapper.properties
@@ -1 +1 @@
-kobalt.version=0.296
+kobalt.version=0.300
\ No newline at end of file