From d51ee7ca6bd6f2414e8f91f96834fdc58632f1ec Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Mon, 16 Nov 2015 03:07:21 -0800 Subject: [PATCH] Update to kobalt-plugin.xml --- Build.kt | 6 +++--- kobalt/wrapper/kobalt-wrapper.properties | 2 +- kobaltw | 4 ++-- .../resources/META-INF/{plugin.xml => kobalt-plugin.xml} | 0 4 files changed, 6 insertions(+), 6 deletions(-) rename src/main/resources/META-INF/{plugin.xml => kobalt-plugin.xml} (100%) diff --git a/Build.kt b/Build.kt index 4d6747b..cfcbb85 100644 --- a/Build.kt +++ b/Build.kt @@ -4,10 +4,10 @@ import com.beust.kobalt.plugin.kotlin.* import com.beust.kobalt.plugin.publish.* //import com.beust.kobalt.plugin.linecount.lineCount -//val plugins = plugins( -//// "com.beust.kobalt:kobalt-line-count:0.14" +val plugins = plugins( + "com.beust.kobalt:kobalt-line-count:0.14" // file(homeDir("kotlin/kobalt-line-count/kobaltBuild/libs/kobalt-line-count-0.14.jar")) -//) +) //val lc = lineCount { // suffix = "**Plugin.kt" diff --git a/kobalt/wrapper/kobalt-wrapper.properties b/kobalt/wrapper/kobalt-wrapper.properties index 5ea33a2..fe1450f 100644 --- a/kobalt/wrapper/kobalt-wrapper.properties +++ b/kobalt/wrapper/kobalt-wrapper.properties @@ -1 +1 @@ -kobalt.version=0.226 \ No newline at end of file +kobalt.version=0.276 diff --git a/kobaltw b/kobaltw index 37966eb..1fd228d 100755 --- a/kobaltw +++ b/kobaltw @@ -1,2 +1,2 @@ -java -jar kobalt/wrapper/kobalt-wrapper.jar $* - +#!/usr/bin/env bash +java -jar $(dirname $0)/kobalt/wrapper/kobalt-wrapper.jar $* diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/kobalt-plugin.xml similarity index 100% rename from src/main/resources/META-INF/plugin.xml rename to src/main/resources/META-INF/kobalt-plugin.xml