We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ab604 commit 2099484Copy full SHA for 2099484
build-plugins/kmp-conventions/src/main/kotlin/aws/sdk/kotlin/gradle/kmp/ConfigureIosSimulator.kt
@@ -17,9 +17,6 @@ import org.jetbrains.kotlin.konan.target.HostManager
17
* https://youtrack.jetbrains.com/issue/KT-38317
18
*/
19
public fun Project.configureIosSimulatorTasks() {
20
- if (this != rootProject) {
21
- throw GradleException("This function should only be called from the root project.")
22
- }
23
if (!HostManager.hostIsMac) return
24
25
val simulatorDeviceName = project.findProperty("iosSimulatorDevice") as? String ?: "iPhone 15"
0 commit comments