Sebastian Schuberth
08/29/2025, 6:05 PMsettings.gradle.kts
I have
dependencyResolutionManagement {
@Suppress("UnstableApiUsage")
repositories {
mavenCentral()
}
versionCatalogs {
create("libs") {
from(files("../gradle/libs.versions.toml"))
}
create("jackson") {
from("com.fasterxml.jackson:jackson-bom:2.20.0")
}
}
}
which leads to
Could not resolve all artifacts for configuration 'incomingCatalogForJackson0'.
> Could not resolve com.fasterxml.jackson:jackson-bom:2.20.0.
Required by:
unknown
> No matching variant of com.fasterxml.jackson:jackson-bom:2.20.0 was found. The consumer was configured to find attribute 'org.gradle.category' with value 'platform', attribute 'org.gradle.usage' with value 'version-catalog' but:
- Variant 'compile':
- Incompatible because this component declares attribute 'org.gradle.category' with value 'library', attribute 'org.gradle.usage' with value 'java-api' and the consumer needed attribute 'org.gradle.category' with value 'platform', attribute 'org.gradle.usage' with value 'version-catalog'
- Variant 'enforced-platform-compile':
- Incompatible because this component declares attribute 'org.gradle.category' with value 'enforced-platform', attribute 'org.gradle.usage' with value 'java-api' and the consumer needed attribute 'org.gradle.category' with value 'platform', attribute 'org.gradle.usage' with value 'version-catalog'
What's wrong with my syntax?TrevJonez
08/29/2025, 6:08 PMSebastian Schuberth
08/29/2025, 6:08 PMTrevJonez
08/29/2025, 6:12 PMSebastian Schuberth
08/29/2025, 7:01 PMTrevJonez
08/29/2025, 7:07 PMSebastian Schuberth
08/29/2025, 8:08 PMTrevJonez
08/29/2025, 8:09 PMVampire
08/30/2025, 10:26 AMSebastian Schuberth
08/30/2025, 10:43 AMVampire
08/30/2025, 5:06 PM