This forum post seems to have an answer to the same problem: Error with Java dependency "couldn't resolve the cycloneDX Gradle plugin "
This looks like it's been fixed in Mendix 10.8. Can you try installing this version and seeing if it works for you?
https://docs.mendix.com/releasenotes/studio-pro/10.8/#fixes
Good luck!
Anyone knows how to fix this error?
FAILURE: Build failed with an exception.
* Where:Build file 'D:\Mendixapps\App222\vendorlib\temp\build.gradle' line: 2
* What went wrong:Plugin [id: 'org.cyclonedx.bom', version: '1.8.1'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)- Plugin Repositories (could not resolve plugin artifact 'org.cyclonedx.bom:org.cyclonedx.bom.gradle.plugin:1.8.1') Searched in the following repositories: Gradle Central Plugin Repository
* 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 2m 9s