Do not threat sources from buildSrc folder as library sources
#KT-27674 Fixed
This commit is contained in:
@@ -133,7 +133,11 @@ object ProjectRootsUtil {
|
|||||||
}
|
}
|
||||||
if (includeLibrarySource && !isBinary) {
|
if (includeLibrarySource && !isBinary) {
|
||||||
if (fileIndex.isInLibrarySource(file)) return true
|
if (fileIndex.isInLibrarySource(file)) return true
|
||||||
if (scriptConfigurationManager?.getAllLibrarySourcesScope()?.contains(file) == true) return true
|
if (scriptConfigurationManager?.getAllLibrarySourcesScope()?.contains(file) == true &&
|
||||||
|
!fileIndex.isInSourceContentWithoutInjected(file)
|
||||||
|
) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false
|
return false
|
||||||
|
|||||||
Reference in New Issue
Block a user