[Gradle] Skip XCFramework task when there's no input frameworks
#KT-53686
This commit is contained in:
committed by
Space
parent
16cb3064c8
commit
3836915012
+1
-1
@@ -166,7 +166,7 @@ abstract class XCFrameworkTask : DefaultTask() {
|
||||
@get:PathSensitive(PathSensitivity.ABSOLUTE)
|
||||
@get:SkipWhenEmpty
|
||||
val inputFrameworkFiles: Collection<File>
|
||||
get() = groupedFrameworkFiles.values.flatten().map { it.file }
|
||||
get() = groupedFrameworkFiles.values.flatten().map { it.file }.filter { it.exists() }
|
||||
|
||||
/**
|
||||
* A parent directory for the XCFramework.
|
||||
|
||||
Reference in New Issue
Block a user