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
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not resolve io.crnk:crnk-bom:3.4.20210509072026.
Required by:
project :
> No matching variant of io.crnk:crnk-bom:3.4.20210509072026 was found. The consumer was configured to find an API of an enforced platform compatible with Java 11, preferably in the fo
rm of class files, preferably optimized for standard JVMs, and its dependencies declared externally but:
- Variant 'apiElements' capability io.crnk:crnk-bom:3.4.20210509072026 declares an API of a component compatible with Java 8, packaged as a jar, and its dependencies declared exter
nally:
- Incompatible because this component declares a library and the consumer needed an enforced platform
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
- Variant 'runtimeElements' capability io.crnk:crnk-bom:3.4.20210509072026 declares a runtime of a component compatible with Java 8, packaged as a jar, and its dependencies declare
d externally:
- Incompatible because this component declares a library and the consumer needed an enforced platform
- Other compatible attribute:
- Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
BOM have to be republished with
<packaging>pom</packaging>
set. Following fails:Output:
If you download POM:
it misses
<packaging>pom</packaging>
. Documentation requires this in the BOM POM:https://docs.gradle.org/current/userguide/platforms.html
The text was updated successfully, but these errors were encountered: