1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

No more warnings from kotlinc.

This commit is contained in:
Cedric Beust 2015-11-06 17:49:59 -08:00
parent 2ab24d66bd
commit 8d9f3903b2

View file

@ -93,7 +93,7 @@ class KConfiguration @Inject constructor(val compiler: KotlinCompiler){
fun compilerArgs(s: List<String>) = args.addAll(s)
fun compile(project: Project? = null, context: KobaltContext? = null) : TaskResult {
return compiler.compile(project, context, dependencies, classpath, source, output, args)
return compiler.compile(project, context, dependencies, classpath, source, output, args + "-no-stdlib")
}
}