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

1.0.0-RC7-2 is not published to gradlePluginPortal() #967

Closed
TWiStErRob opened this issue Jun 24, 2018 · 9 comments
Closed

1.0.0-RC7-2 is not published to gradlePluginPortal() #967

TWiStErRob opened this issue Jun 24, 2018 · 9 comments
Assignees
Milestone

Comments

@TWiStErRob
Copy link
Member

Expected Behavior

buildscript {
	repositories {
		jcenter()
		gradlePluginPortal()
	}
	dependencies {
		classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50"
                // one of these should work
		classpath "gradle.plugin.io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.0.0.RC7.2"
		classpath "gradle.plugin.io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.0.0.RC7-2"
	}
}

Current Behavior

Could not find gradle.plugin.io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.0.0.RC7.2.
Searched in the following locations:
    https://jcenter.bintray.com/gradle/plugin/io/gitlab/arturbosch/detekt/detekt-gradle-plugin/1.0.0.RC7.2/detekt-gradle-plugin-1.0.0.RC7.2.pom
    https://jcenter.bintray.com/gradle/plugin/io/gitlab/arturbosch/detekt/detekt-gradle-plugin/1.0.0.RC7.2/detekt-gradle-plugin-1.0.0.RC7.2.jar
    https://plugins.gradle.org/m2/gradle/plugin/io/gitlab/arturbosch/detekt/detekt-gradle-plugin/1.0.0.RC7.2/detekt-gradle-plugin-1.0.0.RC7.2.pom
    https://plugins.gradle.org/m2/gradle/plugin/io/gitlab/arturbosch/detekt/detekt-gradle-plugin/1.0.0.RC7.2/detekt-gradle-plugin-1.0.0.RC7.2.jar
Required by:
    project :

Steps to Reproduce (for bugs)

  1. drop above code into a build.gradle
  2. run Gradle

Context

Take a look at https://plugins.gradle.org/m2/gradle/plugin/io/gitlab/arturbosch/detekt/detekt-gradle-plugin/, it doesn't list the new version.

Your Environment

  • Version used: 1.0.0.RC7-2
  • Operating System and version: Windows
  • Link to your project: private
@mrsasha
Copy link

mrsasha commented Jun 28, 2018

I second that, the release RC7-2 is not in jcenter either.

@TWiStErRob
Copy link
Member Author

Same for RC7-3, note that https://plugins.gradle.org/plugin/io.gitlab.arturbosch.detekt is showing the newest version, but it's not usable!

@arturbosch
Copy link
Member

Thanks for reporting. That's strange, seems like problems with the composite build setup.
There were no gradle-plugin changes for RC7-2 and RC7-3 so just using

detekt {
   version = "1.0.0.RC7-3"
}

should work.

I uploaded the gradle-plugin to bintray (https://bintray.com/arturbosch/code-analysis/detekt/1.0.0.RC7-3#files/io%2Fgitlab%2Farturbosch%2Fdetekt-gradle-plugin%2F1.0.0.RC7-3)
Can you test again if RC7-3 works for you?

@arturbosch
Copy link
Member

Seems like the gradle-plugin is now under https://plugins.gradle.org/m2/gradle/plugin/io/gitlab/arturbosch/detekt-gradle-plugin/.

@TWiStErRob
Copy link
Member Author

Oh, wow, indeed, such a small diff.
Comparing the versions on the portal actually shows the difference in the Maven group ID:

https://plugins.gradle.org/plugin/io.gitlab.arturbosch.detekt/1.0.0.RC7

id "io.gitlab.arturbosch.detekt"
classpath "gradle.plugin.io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.0.0.RC7"

https://plugins.gradle.org/plugin/io.gitlab.arturbosch.detekt/1.0.0.RC7-2

id "io.gitlab.arturbosch.detekt"
classpath "gradle.plugin.io.gitlab.arturbosch:detekt-gradle-plugin:1.0.0.RC7-2"

Confirmed working with new group id. I guess it's not really a bug, unless you want to go back to the previous one.

@arturbosch arturbosch self-assigned this Jul 2, 2018
@arturbosch
Copy link
Member

For RC7-4 I should change the group id and everything should work again as it was I think.

@ipereziriarte
Copy link

Hi, is there any chance to upload it to Maven Central?

We're experiencing issues every day at 10:00 am CEST. The ci is unable to locate the plugin in jcenter at that time.

@arturbosch
Copy link
Member

arturbosch commented Aug 31, 2018

That should be fixed for RC8.
@ipereziriarte uh I'm sorry to hear that. Yes Maven Central publishing is on my list ... already tried it once. Will come to it sooner than later.

@arturbosch arturbosch added this to the RC9 milestone Sep 10, 2018
@lock
Copy link

lock bot commented Jun 20, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants