Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Search all repositories #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

timri
Copy link
Contributor

@timri timri commented Mar 18, 2016

This patch enables searching in all repositories configured for the current project.
I needed this because I use fabric.io, which uses it's own (public) repository instead of using maven-central or jcenter.

The second commit in this branch also enables local repositories (i.e. file:/-URLs).
However this is not as important, because Android-Studio is able to notified on these itself (f.e. when there is a newer version of the android-support-library)

timri added 2 commits March 10, 2016 22:25
Instead of only supporting MavenCentral and BintekJCenter, support generic
maven repositories, as long as they follow generic path structure.
This patch searches in all configured (maven-)repositories of the project.

Tested with "https://maven.fabric.io/public".

The new class GenericMavenNewVersionFinderFactory is mostly the same as
JCenterNewVersionFinderFactory with two differences:
- The create-method has an additional parameter for passing the repository-url
- The method getLatestFromMavenRepo supports a base-path
  (with JCenter, all paths start from the root-directory)

Signed-off-by: Tim Riemenschneider <[email protected]>
@marcingrzejszczak
Copy link
Contributor

Hi @timri - the project is moved here - https://github.com/marcingrzejszczak/uptodate-gradle-plugin . If you want to contribute I'll be more than happy to help :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants