Giuseppe Barbieri
06/13/2023, 5:21 PMclass SciJavaCatalogPlugin : Plugin<Settings> {
override fun apply(settings: Settings) {
settings.enableFeaturePreview("VERSION_CATALOGS")
settings.dependencyResolutionManagement.versionCatalogs.addGeneratedCatalog()
now I'm refreshing the project and at the consumer, I get:
Could not resolve all files for configuration 'classpath'.
> Could not find org.scijavagradle catalog35.1.1+2.
Searched in the following locations:
- https://plugins.gradle.org/m2/org/scijava/gradle-catalog/35.1.1+2/gradle-catalog-35.1.1+2.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
unspecifiedunspecifiedunspecified > org.scijava.catalogsorg.scijava.catalogs.gradle.plugin35.1.1+2What's the problem? The jar looks there