[Gradle] Add watchosDeviceArm64 target preset

Generate via `generateMppTargetContainerWithPresets`

^KT-53107 Verification Pending
This commit is contained in:
Anton Lakotka
2022-10-04 17:44:44 +02:00
committed by Space Team
parent fceb3425c8
commit 3fe5601a70
@@ -242,6 +242,21 @@ interface KotlinTargetContainerWithPresetFunctions : KotlinTargetsContainerWithP
fun watchosSimulatorArm64(name: String, configure: Action<KotlinNativeTargetWithSimulatorTests>) = watchosSimulatorArm64(name) { configure.execute(this) }
fun watchosSimulatorArm64(configure: Action<KotlinNativeTargetWithSimulatorTests>) = watchosSimulatorArm64 { configure.execute(this) }
fun watchosDeviceArm64(
name: String = "watchosDeviceArm64",
configure: KotlinNativeTargetWithSimulatorTests.() -> Unit = { }
): KotlinNativeTargetWithSimulatorTests =
configureOrCreate(
name,
presets.getByName("watchosDeviceArm64") as KotlinNativeTargetWithSimulatorTestsPreset,
configure
)
fun watchosDeviceArm64() = watchosDeviceArm64("watchosDeviceArm64") { }
fun watchosDeviceArm64(name: String) = watchosDeviceArm64(name) { }
fun watchosDeviceArm64(name: String, configure: Action<KotlinNativeTargetWithSimulatorTests>) = watchosDeviceArm64(name) { configure.execute(this) }
fun watchosDeviceArm64(configure: Action<KotlinNativeTargetWithSimulatorTests>) = watchosDeviceArm64 { configure.execute(this) }
fun tvosArm64(
name: String = "tvosArm64",
configure: KotlinNativeTarget.() -> Unit = { }