Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Working in progress from https://github.com/JetBrains/kotlin-native/issues/2426
- tasks.getByName("iosX64Test") {
- println("Testing ios...")
- val device = project.findProperty("iosDevice")?.toString() ?: "iPhone 8"
- println("Device $device")
- dependsOn("linkDebugTestIosX64")
- group = JavaBasePlugin.VERIFICATION_GROUP
- description = "Runs tests for target 'ios' on an iOS simulator"
- doFirst {
- kotlin.targets.forEach { target ->
- if (target.targetName.startsWith("ios")) {
- println("::: target ${target.targetName}")
- target.compilations.forEach { compilation ->
- println("::: compilation ${compilation.compilationName}")
- if (compilation.compilationName == "test") {
- compilation.defaultSourceSet {
- }
- }
- }
- }
- }
- }
- doLast {
- }
- }
Add Comment
Please, Sign In to add comment