ultraon
01/11/2022, 4:51 PMgradle 7.3.3
is supported by KMM plugin? I've found that unit tests for native platform can't be run.Javier
01/11/2022, 5:19 PMTijl
01/11/2022, 9:18 PMMartin Rajniak
01/12/2022, 8:59 AMTijl
01/12/2022, 9:24 AMExecuting tasks: [:shared:cleanIosX64Test, :shared:iosX64Test] in project /Users/t/studio/gbot/shared
Type-safe dependency accessors is an incubating feature.
> Configure project :shared
Kotlin Multiplatform Projects are an Alpha feature. See: <https://kotlinlang.org/docs/reference/evolution/components-stability.html>. To hide this message, add 'kotlin.mpp.stability.nowarn=true' to the Gradle properties.
The following Kotlin source sets were configured but not added to any Kotlin compilation:
* androidAndroidTestRelease
* androidTestFixtures
* androidTestFixturesDebug
* androidTestFixturesRelease
You can add a source set to a target's compilation by connecting it with the compilation's default source set using 'dependsOn'.
See <https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#connecting-source-sets>
> Task :shared:cleanIosX64Test
> Task :shared:checkApolloVersions
> Task :shared:generateGithubApolloSources
> Task :checkGithubApolloDuplicates UP-TO-DATE
> Task :shared:generateBuildKonfig
> Task :shared:compileKotlinIosX64
> Task :shared:iosX64ProcessResources NO-SOURCE
> Task :shared:iosX64MainKlibrary
> Task :shared:compileTestKotlinIosX64
> Task :shared:linkDebugTestIosX64
> Task :shared:iosX64Test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':shared:iosX64Test'.
> No value present
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':shared:iosX64Test'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:145)
...
Caused by: java.util.NoSuchElementException: No value present
at org.gradle.tooling.internal.provider.runner.TestTaskExecutionTracker.getTaskPath(TestTaskExecutionTracker.java:45)
ultraon
01/14/2022, 4:37 PMArkadii Ivanov
02/09/2022, 9:32 AM