diff --git a/kobalt/src/Build.kt b/kobalt/src/Build.kt index 8fe41de..ebd2e8c 100644 --- a/kobalt/src/Build.kt +++ b/kobalt/src/Build.kt @@ -4,7 +4,7 @@ import com.beust.kobalt.repos val repos = repos() -val dev = true +val dev = false val kobaltDependency = if (dev) "kobalt" else "kobalt-plugin-api" val p = project { @@ -23,7 +23,7 @@ val p = project { } dependencies { - compile("com.beust:$kobaltDependency:0.725") + compile("com.beust:$kobaltDependency:0.842") } dependenciesTest { diff --git a/kobalt/wrapper/kobalt-wrapper.jar b/kobalt/wrapper/kobalt-wrapper.jar new file mode 100644 index 0000000..6ca6ca5 Binary files /dev/null and b/kobalt/wrapper/kobalt-wrapper.jar differ 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/src/main/kotlin/net/thauvin/erik/kobalt/plugin/exec/ExecPlugin.kt b/src/main/kotlin/net/thauvin/erik/kobalt/plugin/exec/ExecPlugin.kt index 1556b9b..e9811d0 100644 --- a/src/main/kotlin/net/thauvin/erik/kobalt/plugin/exec/ExecPlugin.kt +++ b/src/main/kotlin/net/thauvin/erik/kobalt/plugin/exec/ExecPlugin.kt @@ -39,12 +39,14 @@ import com.beust.kobalt.misc.log class ExecPlugin : BasePlugin(), ITaskContributor { +/* fun main(argv: Array) { com.beust.kobalt.main(argv) } +*/ // ITaskContributor - override fun tasksFor(context: KobaltContext): List { + override fun tasksFor(project: Project, context: KobaltContext): List { return emptyList() } diff --git a/wrapper/kobalt-wrapper.jar b/wrapper/kobalt-wrapper.jar new file mode 100644 index 0000000..6ca6ca5 Binary files /dev/null and b/wrapper/kobalt-wrapper.jar differ diff --git a/wrapper/kobalt-wrapper.properties b/wrapper/kobalt-wrapper.properties new file mode 100644 index 0000000..40e4395 --- /dev/null +++ b/wrapper/kobalt-wrapper.properties @@ -0,0 +1 @@ +kobalt.version=0.843 \ No newline at end of file