Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle plugins imported as regular dependency that are not on maven central #59

Open
celcius112 opened this issue Nov 6, 2019 · 1 comment

Comments

@celcius112
Copy link
Collaborator

When a project imports a plugin as a regular dependency, for instance

implementation("org.unbroken-dome.gradle-plugins:gradle-testsets-plugin:2.1.1")

the tool will not find it's latest version since the plugin is kept on Gradle's plugin portal.

A probable solution would be to try finding the dependency on the plugin portal if not found on maven central.

@celcius112
Copy link
Collaborator Author

This problem is not as trivial as expected. A plugin found on the portal will have a name that is not necessarily related to its classpath dependency. For instance the docker-compose plugin has a plugin name com.avast.gradle.docker-compose, but a classpath dependency with group gradle.plugin.com.avast.gradle and name gradle-docker-compose-plugin. Maybe we'll need to retrieve more metadata from the plugin portal in order to be able to match the classpath dependency.

@celcius112 celcius112 changed the title Handle plugins imported as regular dependency Handle plugins imported as regular dependency that are not on maven central Nov 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant