[Gradle] CInteropMetadataDependencyTransformationTask: Fix overlapping outputLibrariesFileIndex
Before this change, IDE tasks from different projects were re-using the same libraries index file, leading to overwrites and therefore missing dependencies in the IDE KT-49933
This commit is contained in:
committed by
Space Team
parent
6849804941
commit
d4a9bb8d90
+1
-1
@@ -169,7 +169,7 @@ internal open class CInteropMetadataDependencyTransformationTask @Inject constru
|
||||
@get:OutputFile
|
||||
protected val outputLibrariesFileIndex: RegularFileProperty = objectFactory
|
||||
.fileProperty()
|
||||
.apply { set(outputDirectory.resolve("${sourceSet.name}.cinteropLibraries")) }
|
||||
.apply { set(outputDirectory.resolve("${project.path.replace(":", ".")}-${sourceSet.name}.cinteropLibraries")) }
|
||||
|
||||
@get:Internal
|
||||
internal val outputLibraryFiles: FileCollection = project.filesProvider {
|
||||
|
||||
Reference in New Issue
Block a user