Piotr KrzemiĆski
07/30/2024, 9:38 AMVampire
07/30/2024, 12:24 PMPiotr KrzemiĆski
07/30/2024, 12:36 PMAaron Ferguson
07/30/2024, 3:52 PMAaron Ferguson
07/30/2024, 3:54 PMVampire
07/30/2024, 5:05 PMbuildHealth to check, not only CI. đVampire
07/30/2024, 5:08 PM<plugin id>:<plugin id>.gradle.plugin:<plugin version> instead of on the actual code artifact, but then use the classes from the code artifact,
the plugin is basically right in complaining, as you use classes from a transitive dependency which generally is bad practice.
But in cases like this where this is exactly intended, that you depend on one artifact but use classes from its dependency, you can declare bundles for the plugin to know that like
dependencyAnalysis {
dependencies {
bundle("com.autonomousapps.dependency-analysis.gradle.plugin") {
includeDependency("com.autonomousapps.dependency-analysis:com.autonomousapps.dependency-analysis.gradle.plugin")
includeDependency("com.autonomousapps:dependency-analysis-gradle-plugin")
}
}
}