From c44ba24a936a1a537bb6d75889b81681d512ce08 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 4 Feb 2016 22:55:56 +0400 Subject: [PATCH] Restore -no-stdlib. --- .../kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt index 0f992c16..8729eb9b 100644 --- a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt +++ b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt @@ -152,7 +152,7 @@ class KConfiguration @Inject constructor(val compiler: KotlinCompiler){ fun compilerArgs(s: List) = args.addAll(s) fun compile(project: Project? = null, context: KobaltContext? = null) : TaskResult { - return compiler.compile(project, context, dependencies, classpath, source, output, args /* + "-no-stdlib" */) + return compiler.compile(project, context, dependencies, classpath, source, output, args + "-no-stdlib") } }