diff --git a/Build.kt b/Build.kt
index 76a1fa3..2c94a6f 100644
--- a/Build.kt
+++ b/Build.kt
@@ -5,9 +5,8 @@ import com.beust.kobalt.plugin.publish.*
import com.beust.kobalt.plugin.linecount.lineCount
val plugins = plugins(
-// "com.beust.kobalt:kobalt-line-count:0.8"
-// file(homeDir("kotlin/kobalt-line-count/kobaltBuild/libs/kobalt-line-count-0.8.jar"))
- file(homeDir("kotlin/kobalt-line-count/kobaltBuild/libs/kobalt-line-count-0.12.jar"))
+// "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 {
@@ -17,11 +16,11 @@ val project = kotlinProject {
name = "kobalt-line-count"
group = "com.beust.kobalt"
artifactId = name
- version = "0.12"
+ version = "0.14"
dependencies {
// compile("file:" + homeDir("kotlin/kobalt/kobaltBuild/libs/kobalt-0.168.jar"))
- compile("com.beust:kobalt:0.171")
+ compile("com.beust:kobalt:0.174")
}
}
diff --git a/build.gradle b/build.gradle
index aa5c762..91c6674 100644
--- a/build.gradle
+++ b/build.gradle
@@ -23,7 +23,7 @@ apply plugin: 'kotlin'
dependencies {
compile "com.google.guava:guava:18.0"
- compile "com.beust:kobalt:0.171"
+ compile "com.beust:kobalt:0.174"
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
diff --git a/kobalt-line-count.iml b/kobalt-line-count.iml
index c240327..160e3df 100644
--- a/kobalt-line-count.iml
+++ b/kobalt-line-count.iml
@@ -36,6 +36,6 @@
-
+
\ No newline at end of file
diff --git a/kobalt/wrapper/kobalt-wrapper.properties b/kobalt/wrapper/kobalt-wrapper.properties
index 46a4966..9cb558b 100644
--- a/kobalt/wrapper/kobalt-wrapper.properties
+++ b/kobalt/wrapper/kobalt-wrapper.properties
@@ -1 +1 @@
-kobalt.version=0.171
\ No newline at end of file
+kobalt.version=0.174
\ No newline at end of file
diff --git a/src/main/kotlin/com/beust/kobalt/plugin/linecount/LineCountPlugin.kt b/src/main/kotlin/com/beust/kobalt/plugin/linecount/LineCountPlugin.kt
index df20ec6..61a11e0 100644
--- a/src/main/kotlin/com/beust/kobalt/plugin/linecount/LineCountPlugin.kt
+++ b/src/main/kotlin/com/beust/kobalt/plugin/linecount/LineCountPlugin.kt
@@ -43,11 +43,10 @@ public class LineCountPlugin : BasePlugin(), KobaltLogger {
if (path.toFile().exists()) {
Files.walkFileTree(path, object : SimpleFileVisitor() {
override public fun visitFile(path: Path, attrs: BasicFileAttributes): FileVisitResult {
- log(2, "File: $path")
if (matcher.matches(path)) {
fileCount++
lineCount += Files.lines(path).count()
- log(2, " MATCH $path")
+ log(3, " MATCH $path")
}
return FileVisitResult.CONTINUE
}