mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Restore -no-stdlib.
This commit is contained in:
parent
64bfcbf12a
commit
f672e6b7bb
1 changed files with 2 additions and 3 deletions
|
@ -47,9 +47,8 @@ class KotlinPlugin @Inject constructor(val executors: KobaltExecutors)
|
||||||
// ICompilerFlagsContributor
|
// ICompilerFlagsContributor
|
||||||
override fun flagsFor(project: Project, context: KobaltContext, currentFlags: List<String>,
|
override fun flagsFor(project: Project, context: KobaltContext, currentFlags: List<String>,
|
||||||
suffixesBeingCompiled: List<String>) : List<String> {
|
suffixesBeingCompiled: List<String>) : List<String> {
|
||||||
val result = maybeCompilerArgs(compiler.sourceSuffixes, suffixesBeingCompiled,
|
val args = (configurationFor(project)?.compilerArgs ?: listOf<String>()) + "-no-stdlib"
|
||||||
configurationFor(project)?.compilerArgs ?: listOf<String>())
|
return maybeCompilerArgs(compiler.sourceSuffixes, suffixesBeingCompiled, args)
|
||||||
return result
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// override fun generateDoc(project: Project, context: KobaltContext, info: CompilerActionInfo) : TaskResult {
|
// override fun generateDoc(project: Project, context: KobaltContext, info: CompilerActionInfo) : TaskResult {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue