From 556e081508b3864a9f273b9f9bc86da3891daf2a Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Wed, 18 Nov 2015 20:24:09 -0800 Subject: [PATCH] 0.273 --- kobalt/src/Build.kt | 26 ++++++++++++++---------- kobalt/wrapper/kobalt-wrapper.properties | 2 +- src/main/resources/kobalt.properties | 2 +- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/kobalt/src/Build.kt b/kobalt/src/Build.kt index 8da5d176..93f5fa5f 100644 --- a/kobalt/src/Build.kt +++ b/kobalt/src/Build.kt @@ -1,10 +1,9 @@ import com.beust.kobalt.* -import com.beust.kobalt.api.License -import com.beust.kobalt.api.Project -import com.beust.kobalt.api.Scm +import com.beust.kobalt.api.* import com.beust.kobalt.api.annotation.Task import com.beust.kobalt.plugin.application.application +import com.beust.kobalt.plugin.dokka.* import com.beust.kobalt.plugin.java.javaCompiler import com.beust.kobalt.plugin.java.javaProject import com.beust.kobalt.plugin.kotlin.kotlinCompiler @@ -38,6 +37,12 @@ val wrapper = javaProject { } } + productFlavor("dev") { + } + + buildType("debug") { + } + application { mainClass = "com.beust.kobalt.wrapper.Main" } @@ -110,14 +115,13 @@ val kobalt = kotlinProject(wrapper) { args("-nowarn") } -// dokka { -// outputFormat = "markdown" -// sourceLinks { -// dir = "src/main/kotlin" -// url = "https://github.com/cy6erGn0m/vertx3-lang-kotlin/blob/master/src/main/kotlin" -// urlSuffix = "#L" -// } -// } + dokka { + outputFormat = "markdown" + } + + dokka { + outputFormat = "html" + } github { file("$buildDirectory/libs/$name-$version.zip", "$name/$version/$name-$version.zip") diff --git a/kobalt/wrapper/kobalt-wrapper.properties b/kobalt/wrapper/kobalt-wrapper.properties index 69e63c4e..6e31fa97 100644 --- a/kobalt/wrapper/kobalt-wrapper.properties +++ b/kobalt/wrapper/kobalt-wrapper.properties @@ -1 +1 @@ -kobalt.version=0.272 +kobalt.version=0.273 diff --git a/src/main/resources/kobalt.properties b/src/main/resources/kobalt.properties index 69e63c4e..6e31fa97 100644 --- a/src/main/resources/kobalt.properties +++ b/src/main/resources/kobalt.properties @@ -1 +1 @@ -kobalt.version=0.272 +kobalt.version=0.273