Skip to content

ProductName

ProductName

/**
 * Represents the name of a product, with an optional alias and more to come.
 *
 * @property name The name of the product within the Swift package ecosystem. This is required for proper
 * identification and resolution of the dependency.
 * @property alias An optional alias that can be used as an alternate reference to the product.
 * Some Package use indirect name for a product.
 * @property linkerOpts Add custom linker flag when exporting the product to kotlin
 * @property compilerOpts Add custom compiler flag when exporting the product to kotlin
 *
 */
public data class ProductName(
    val name: String,
    val alias: String? = null,
    var linkerOpts: List<String> = emptyList(),
    var compilerOpts: List<String> = emptyList(),
) : Serializable