Added init keyword to builtins, maven projects and stdlib

This commit is contained in:
Stanislav Erokhin
2015-04-01 03:58:05 +03:00
parent 7cac6e3c5e
commit 6ab83c9b8c
8 changed files with 18 additions and 17 deletions
@@ -209,7 +209,7 @@ public open class Kotlin2JsCompile() : AbstractKotlinCompile<K2JSCompilerArgumen
public val sourceMap: Boolean
get() = kotlinOptions.sourceMap
{
init {
getOutputs().file(MethodClosure(this, "getOutputFile"))
}
@@ -255,7 +255,7 @@ public open class KDoc() : SourceTask() {
public var destinationDir: File? = null
{
init {
// by default, output dir is not defined in options
kdocArgs.docConfig.docOutputDir = ""
}