ajoberstar / reckon

Infer a project's version from your Git repository.
Apache License 2.0
191 stars 28 forks source link

Instructions for specifying Gradle plugin in Maven Central #177

Closed mjstrasser closed 2 years ago

mjstrasser commented 2 years ago

176 Update to README with instructions for getting Gradle plugin from Maven Central.

ajoberstar commented 2 years ago

@mjstrasser Since Gradle's plugin portal proxies Maven Central, you shouldn't need to add an explicit mavenCentral() reference in the pluginManagement.

Did you run into a case where the plugin wouldn't resolve without explicitly adding mavenCentral()? If so, do you have any more info on the project (how to reproduce it), so I can make sure I'm following?

mjstrasser commented 2 years ago

@ajoberstar I haven’t looked into that problem I was having for some time. For me, Maven Central was not being proxied by the Gradle plugin portal.

When I have time I will investigate further but for now I am happy to close this PR.