-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Got an error message from the Gradle plugin when trying to update a project to Kotlin 2.0.0:
Execution failed for task ':cinema-api:kobbyKotlin'.
> Error while evaluating property 'dtoSerializationEnabled' of task ':cinema-api:kobbyKotlin'.
> Failed to calculate the value of task ':cinema-api:kobbyKotlin' property 'dtoSerializationEnabled'.
> Could not resolve all dependencies for configuration ':cinema-api:dependencySources'.
> Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.7.1.
Required by:
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-client-core-jvm:2.3.9
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-http-cio-jvm:2.3.9
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-websockets-jvm:2.3.9
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-network-tls-jvm:2.3.9
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-client-core-jvm:2.3.9 > io.ktor:ktor-http-jvm:2.3.9
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-client-core-jvm:2.3.9 > io.ktor:ktor-events-jvm:2.3.9
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-client-core-jvm:2.3.9 > io.ktor:ktor-websocket-serialization-jvm:2.3.9
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-http-cio-jvm:2.3.9 > io.ktor:ktor-network-jvm:2.3.9
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-network-tls-jvm:2.3.9 > io.ktor:ktor-utils-jvm:2.3.9
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-client-core-jvm:2.3.9 > io.ktor:ktor-websocket-serialization-jvm:2.3.9 > io.ktor:ktor-serialization-jvm:2.3.9
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-network-tls-jvm:2.3.9 > io.ktor:ktor-utils-jvm:2.3.9 > io.ktor:ktor-io-jvm:2.3.9
> No matching variant of org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.7.1 was found. The consumer was configured to find sources for use during runtime, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' but:
- Variant 'apiElements' capability org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.7.1 declares a component, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- Incompatible because this component declares a library for use during compile-time and the consumer needed documentation for use during runtime
- Other compatible attribute:
- Doesn't say anything about the documentation type (required sources)
- Variant 'runtimeElements' capability org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.7.1 declares a component for use during runtime, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- Incompatible because this component declares a library and the consumer needed documentation
- Other compatible attribute:
- Doesn't say anything about the documentation type (required sources)
> Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-slf4j:1.7.1.
Required by:
project :cinema-api > io.ktor:ktor-client-cio:2.3.9 > io.ktor:ktor-client-cio-jvm:2.3.9 > io.ktor:ktor-client-core-jvm:2.3.9
> No matching variant of org.jetbrains.kotlinx:kotlinx-coroutines-slf4j:1.7.1 was found. The consumer was configured to find sources for use during runtime, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' but:
- Variant 'apiElements' capability org.jetbrains.kotlinx:kotlinx-coroutines-slf4j:1.7.1 declares a component, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- Incompatible because this component declares a library for use during compile-time and the consumer needed documentation for use during runtime
- Other compatible attribute:
- Doesn't say anything about the documentation type (required sources)
- Variant 'runtimeElements' capability org.jetbrains.kotlinx:kotlinx-coroutines-slf4j:1.7.1 declares a component for use during runtime, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm':
- Incompatible because this component declares a library and the consumer needed documentation
- Other compatible attribute:
- Doesn't say anything about the documentation type (required sources)
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 307ms
4 actionable tasks: 4 executed
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working