K2 Scripting: disable scripts in source roots by default
fixes ultimate FP test
This commit is contained in:
committed by
Space Team
parent
09518a457a
commit
e4a361a4b4
+4
-1
@@ -530,7 +530,10 @@ abstract class CommonCompilerArguments : CommonToolArguments() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (allowAnyScriptsInSourceRoots) {
|
if (useK2) {
|
||||||
|
// TODO: remove when K2 compilation will mean LV 2.0
|
||||||
|
put(LanguageFeature.SkipStandaloneScriptsInSourceRoots, LanguageFeature.State.ENABLED)
|
||||||
|
} else if (allowAnyScriptsInSourceRoots) {
|
||||||
put(LanguageFeature.SkipStandaloneScriptsInSourceRoots, LanguageFeature.State.DISABLED)
|
put(LanguageFeature.SkipStandaloneScriptsInSourceRoots, LanguageFeature.State.DISABLED)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user