Remove custom iosTest task; fix IosDatabase

This commit is contained in:
2020-05-17 13:27:51 -05:00
parent 6a172d135b
commit c784f40c55
2 changed files with 21 additions and 29 deletions

View File

@@ -122,24 +122,11 @@ kotlin {
}
}
// task iosTestCopyResources(type: Copy) {
// dependsOn 'linkTestIos'
// from 'assets/test/'
// from 'assets/main/'
// into 'build/bin/ios/testDebugExecutable'
// }
//
// task iosTestCustom {
// dependsOn 'linkTestIos', 'iosTestCopyResources'
// group = JavaBasePlugin.VERIFICATION_GROUP
// description = "Runs tests on iOS simulator"
//
// doLast {
// def emulatorName = "iPhone 8 Plus"
// def binary = kotlin.targets.ios.compilations.test.getBinary('EXECUTABLE', 'DEBUG')
// exec {
// commandLine 'xcrun', 'simctl', 'spawn', emulatorName, binary.absolutePath
// }
// }
// }
task iosTestCopyResources(type: Copy) {
from 'assets/test/'
from 'assets/main/'
into 'build/bin/ios/debugTest'
}
iosTest.dependsOn(iosTestCopyResources)
}