MQTT Connector - Gradle Error - Mendix 11

0
FAILURE: Build failed with an exception.* Where:Build file '...\vendorlib\temp\build.gradle' line: 2* What went wrong:Plugin [id: 'org.cyclonedx.bom', version: '1.10.0'] 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.10.0') 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 1s
asked
1 answers
0

Hi Syrine,


Your Gradle build failed because the plugin org.cyclonedx.bom version 1.10.0 isn’t available in the default plugin repositories.



Add the CycloneDX plugin repository to your settings.gradle or build.gradle:


gradle

pluginManagement {

repositories {

gradlePluginPortal()

mavenCentral()

maven { url "https://plugins.gradle.org/m2/" }

}

}

Then apply the plugin:


gradle

plugins {

id "org.cyclonedx.bom" version "1.10.0"


This ensures Gradle can resolve the plugin from the correct repository.

answered