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 plugin in gradle plugin site #762

Closed
DeathGOD7 opened this issue Apr 22, 2024 · 1 comment
Closed

Update plugin in gradle plugin site #762

DeathGOD7 opened this issue Apr 22, 2024 · 1 comment

Comments

@DeathGOD7
Copy link

DeathGOD7 commented Apr 22, 2024

Please update the plugin version in the gradle plugin site too.
Seems the github gradle workflow can't find the newest version.

Steps:

  1. Have plugins imported in your build file
plugins { 
	id("java")
	id("maven-publish")
	id("signing")
	id("com.github.johnrengelman.shadow") version "8.1.1"
	id("com.vanniktech.maven.publish") version "0.28.0"
}
  1. Use gradle workflow that will build the project
  2. Voila... Error!!

Current Version says 0.28.0 but it is 0.13.0 there.
Source : Site

Error :

 Could not resolve com.vanniktech:gradle-maven-publish-plugin:0.28.0.
     Required by:
         project : > com.vanniktech.maven.publish:com.vanniktech.maven.publish.gradle.plugin:0.28.0
      > No matching variant of com.vanniktech:gradle-maven-publish-plugin:0.28.0 was found. The consumer was configured to find a library for use during runtime, compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.7' but...
 
@gabrielittner
Copy link
Collaborator

gabrielittner commented May 1, 2024

The plugin is currently only published to maven central, to use it make sure maven central is specified in your plugin repositories in settings.gradle

pluginManagement {
  repositories {
    mavenCentral()
    gradlePluginPortal()
  }
}

Closing this as duplicate of #669

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