[KT-53392] Cocoapods: fix gradle task inputs.
This commit is contained in:
+1
-2
@@ -334,6 +334,7 @@ abstract class CocoapodsExtension @Inject constructor(private val project: Proje
|
|||||||
}
|
}
|
||||||
|
|
||||||
sealed class PodLocation {
|
sealed class PodLocation {
|
||||||
|
@Internal
|
||||||
internal abstract fun getPodSourcePath(): String
|
internal abstract fun getPodSourcePath(): String
|
||||||
|
|
||||||
data class Path(
|
data class Path(
|
||||||
@@ -341,7 +342,6 @@ abstract class CocoapodsExtension @Inject constructor(private val project: Proje
|
|||||||
@get:IgnoreEmptyDirectories
|
@get:IgnoreEmptyDirectories
|
||||||
val dir: File
|
val dir: File
|
||||||
) : PodLocation() {
|
) : PodLocation() {
|
||||||
@Internal
|
|
||||||
override fun getPodSourcePath() = ":path => '${dir.absolutePath}'"
|
override fun getPodSourcePath() = ":path => '${dir.absolutePath}'"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -351,7 +351,6 @@ abstract class CocoapodsExtension @Inject constructor(private val project: Proje
|
|||||||
@get:Input @get:Optional var tag: String? = null,
|
@get:Input @get:Optional var tag: String? = null,
|
||||||
@get:Input @get:Optional var commit: String? = null
|
@get:Input @get:Optional var commit: String? = null
|
||||||
) : PodLocation() {
|
) : PodLocation() {
|
||||||
@Internal
|
|
||||||
override fun getPodSourcePath() = buildString {
|
override fun getPodSourcePath() = buildString {
|
||||||
append(":git => '$url'")
|
append(":git => '$url'")
|
||||||
when {
|
when {
|
||||||
|
|||||||
Reference in New Issue
Block a user