You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem only occurs in CI so far (BitBucket pipelines) after upgrading Spring Boot from 2.2.6 to 2.3.0.
Error
> Task :bootJar FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bootJar'.
> Could not resolve all files for configuration ':productionRuntimeClasspath'.
> Could not resolve com.squareup.okio:okio:2.6.0.
Required by:
project : > com.squareup.okhttp3:okhttp:4.7.2
> Cannot choose between the following variants of com.squareup.okio:okio:2.6.0:
- jvm-api
- jvm-runtime
- metadata-api
All of them match the consumer attributes:
- Variant 'jvm-api' capability com.squareup.okio:okio:2.6.0:
- Unmatched attributes:
- Provides org.gradle.libraryelements 'jar' but the consumer didn't ask for it
- Provides org.gradle.status 'release' but the consumer didn't ask for it
- Provides org.gradle.usage 'java-api' but the consumer didn't ask for it
- Provides org.jetbrains.kotlin.platform.type 'jvm' but the consumer didn't ask for it
- Variant 'jvm-runtime' capability com.squareup.okio:okio:2.6.0:
- Unmatched attributes:
- Provides org.gradle.libraryelements 'jar' but the consumer didn't ask for it
- Provides org.gradle.status 'release' but the consumer didn't ask for it
- Provides org.gradle.usage 'java-runtime' but the consumer didn't ask for it
- Provides org.jetbrains.kotlin.platform.type 'jvm' but the consumer didn't ask for it
- Variant 'metadata-api' capability com.squareup.okio:okio:2.6.0:
- Unmatched attributes:
- Provides org.gradle.status 'release' but the consumer didn't ask for it
- Provides org.gradle.usage 'kotlin-api' but the consumer didn't ask for it
- Provides org.jetbrains.kotlin.platform.type 'common' but the consumer didn't ask for it
The problem only occurs in CI so far (BitBucket pipelines) after upgrading Spring Boot from
2.2.6
to2.3.0
.Error
build.gradle file
Used Gradle version:
6.4.1
The text was updated successfully, but these errors were encountered: