Scripting: update scripts in source roots handling
#KT-52525 fixed related to #KT-52735
This commit is contained in:
+4
@@ -36,6 +36,10 @@ class ScriptCompilationConfigurationFromDefinition(
|
||||
platform(scriptDefinition.platform)
|
||||
@Suppress("DEPRECATION")
|
||||
compilerOptions.putIfAny(scriptDefinition.additionalCompilerArguments)
|
||||
// TODO: remove this exception when gradle switches to the new definitions and sets the property accordingly
|
||||
if (scriptDefinition.fileExtension == "gradle.kts") {
|
||||
isStandalone(false)
|
||||
}
|
||||
ide {
|
||||
acceptedLocations.put(scriptDefinition.scriptExpectedLocations.mapLegacyExpectedLocations())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user