Open gavenkoa opened 2 years ago
As a workaround one can use Spring Gradle Dependency Management plugin:
plugins {
id 'org.springframework.boot' version '2.7.0'
}
apply plugin: 'io.spring.dependency-management'
repositories {
mavenCentral()
}
dependencyManagement {
imports {
mavenBom "io.crnk:crnk-bom:${crnkVersion}"
}
}
dependency {
implementation "io.crnk:crnk-setup-spring-boot2"
}
That plugin doesn't check for <packaging>pom</packaging>
.
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