badass-runtime-plugin
badass-runtime-plugin copied to clipboard
Use of BOMs results in spurious warnings
When using a BOM to control dependency versions, the plugin produces spurious warnings about being unable to retrieve artifacts.
For example, given the following build.gradle.kts
plugins {
id("org.beryx.runtime") version "1.12.6"
}
dependencies {
implementation(platform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.5.2"))
}
running gradle jre produces:
> Task :jre
Cannot retrieve artifact org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.5.2
The plugin is trying to retrieve an artifact for the BOM dependency in order to analyse the modules it uses, but this type of dependency, by its nature, doesn't have an artifact.
In 1.12.7 these messages are no longer displayed. They will appear only when running Gradle with the --info option.