diff --git a/.gitignore b/.gitignore index cb14895..e7edde6 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ .DS_Store .classpath .gradle +.kobalt .nb-gradle .project .settings @@ -22,4 +23,5 @@ /project.properties /test-output Thumbs.db -ehthumbs.db \ No newline at end of file +ehthumbs.db +kobaltBuild \ No newline at end of file diff --git a/kobalt/src/Build.kt b/kobalt/src/Build.kt new file mode 100644 index 0000000..b6f9f8a --- /dev/null +++ b/kobalt/src/Build.kt @@ -0,0 +1,43 @@ +import com.beust.kobalt.* +import com.beust.kobalt.plugin.packaging.* +import com.beust.kobalt.plugin.application.* +import com.beust.kobalt.plugin.java.* + +val repos = repos() + + +val p = project { + + name = "DataProviderTest" + group = "com.example" + artifactId = name + version = "0.1" + + sourceDirectories { + path("src/main/java") + } + + sourceDirectoriesTest { + path("src/test/java") + } + + dependencies { +// compile("com.beust:jcommander:1.48") + } + + dependenciesTest { + compile("org.testng:testng:6.9.9") + + } + + assemble { + jar { + } + } + + application { + mainClass = "com.example.Main" + } + + +} diff --git a/kobalt/wrapper/kobalt-wrapper.jar b/kobalt/wrapper/kobalt-wrapper.jar new file mode 100644 index 0000000..c178849 Binary files /dev/null and b/kobalt/wrapper/kobalt-wrapper.jar differ diff --git a/kobalt/wrapper/kobalt-wrapper.properties b/kobalt/wrapper/kobalt-wrapper.properties new file mode 100644 index 0000000..9991cb4 --- /dev/null +++ b/kobalt/wrapper/kobalt-wrapper.properties @@ -0,0 +1 @@ +kobalt.version=0.839 \ No newline at end of file diff --git a/kobaltw b/kobaltw new file mode 100644 index 0000000..b27b3d8 --- /dev/null +++ b/kobaltw @@ -0,0 +1 @@ +java -jar $(dirname $0)/kobalt/wrapper/kobalt-wrapper.jar $* diff --git a/kobaltw.bat b/kobaltw.bat new file mode 100644 index 0000000..5514fa7 --- /dev/null +++ b/kobaltw.bat @@ -0,0 +1,2 @@ +@echo off +java -jar "%~dp0/kobalt/wrapper/kobalt-wrapper.jar" %* \ No newline at end of file