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

Update central plugin repository #158

Open
kastork opened this issue Jul 19, 2015 · 1 comment
Open

Update central plugin repository #158

kastork opened this issue Jul 19, 2015 · 1 comment

Comments

@kastork
Copy link

kastork commented Jul 19, 2015

the gradle dependencyUpdates task reports version 1.2.4 is available.

The following dependencies have later milestone versions:
 - uk.co.cacoethes:lazybones-gradle [1.2.3 -> 1.2.4]

But when I update my build to use it:

plugins {
    id "uk.co.cacoethes.lazybones-templates" version "1.2.4"
    id 'com.github.ben-manes.versions' version '0.11.3'
}

The build errors out with:

* What went wrong:
Plugin [id: 'uk.co.cacoethes.lazybones-templates', version: '1.2.4'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Gradle Central Plugin Repository (plugin 'uk.co.cacoethes.lazybones-templates' has no version '1.2.4' - see https://plugins.gradle.org/plugin/uk.co.cacoethes.lazybones-templates for available versions)
@pledbrook
Copy link
Owner

I think this has something to do with the changes the Gradle team made to the way plugins are published. Bintray is hosting the 1.2.4 version, but that isn't visible via the plugin portal for some reason.

The workaround is to use the "all Gradle versions" code snippet shown on the plugin portal page for lazybones-gradle, substituting 1.2.4 for 1.2.3.

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

2 participants