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