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

gradle: resolve plugin dependencies via buildscript repositories not … #100

Merged
merged 3 commits into from
Apr 11, 2017
Merged

Conversation

cal101
Copy link
Contributor

@cal101 cal101 commented Apr 11, 2017

…via project repositories (#99)

@nedtwigg
Copy link
Member

Looks like a few tests will need

buildscript {
    repositories { mavenCentral() }
}

I guess Gradle testkit doesn't use any repositories by default.

@@ -3,6 +3,7 @@
### Version 3.3.0-SNAPSHOT - TBD ([javadoc](https://diffplug.github.io/spotless/javadoc/snapshot/), [snapshot](https://oss.sonatype.org/content/repositories/snapshots/com/diffplug/spotless/spotless-plugin-gradle/))

* Added support for groovy formatting (huge thanks to Frank Vennemeyer! [#94](https://github.com/diffplug/spotless/pull/94), [#89](https://github.com/diffplug/spotless/pull/89), [#88](https://github.com/diffplug/spotless/pull/88), [#85](https://github.com/diffplug/spotless/pull/85))
* When special-purpose formatters need to be downloaded from maven, they are now resolved using the buildscript repositories rather than the project repositories. (thanks to [cal101](https://github.com/cal101) [#100](https://github.com/diffplug/spotless/pull/100))

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did I attribute you correctly? Happy to use a different name besides cal101 or a different link besides your github profile.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attribute as you like.
Typo in your first message "our" -> "out".

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - force-push fixed.

@nedtwigg
Copy link
Member

Looks great! I just tweaked some error message handling that your PR brought to light. When you get a chance, signoff on the attribution I used above and I'll merge & ship.

@cal101
Copy link
Contributor Author

cal101 commented Apr 11, 2017

How do you expect it to be signed off?

@nedtwigg
Copy link
Member

No GPG sign or anything, just a comment that I picked the right name. Merge-ho!

@nedtwigg nedtwigg merged commit dd90ab7 into diffplug:master Apr 11, 2017
@nedtwigg
Copy link
Member

It'll be in 3.3.0-SNAPSHOT once the CI finishes, and I'll release 3.3.0 later today.

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

Successfully merging this pull request may close these issues.

2 participants