Make the example work.
This commit is contained in:
parent
4da1358260
commit
d8d93405e1
2 changed files with 8 additions and 3 deletions
|
@ -2,7 +2,9 @@ import com.beust.kobalt.*
|
|||
import com.beust.kobalt.plugin.packaging.*
|
||||
import com.beust.kobalt.plugin.application.*
|
||||
import com.beust.kobalt.plugin.java.*
|
||||
//import net.thauvin.erik.kobalt.plugin.exec.*
|
||||
import net.thauvin.erik.kobalt.plugin.exec.*
|
||||
|
||||
val pl = plugins(file("../kobaltBuild/libs/kobalt-exec-0.1.jar"))
|
||||
|
||||
val p = project {
|
||||
|
||||
|
@ -20,7 +22,6 @@ val p = project {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compile(file("../libs/kobalt-exec-0.1.jar"))
|
||||
}
|
||||
|
||||
dependenciesTest {
|
||||
|
@ -34,4 +35,8 @@ val p = project {
|
|||
application {
|
||||
mainClass = "com.example.Main"
|
||||
}
|
||||
|
||||
exec {
|
||||
commandLine(args = arrayOf("ls"))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue