Which maven repositories are checked for my dependencies when using gradle? -
i have gradle project has 2 maven repositories configured. 1 of them nexus repository somewhere on network , requires authentication. other local maven repository resides within project directory structure.
the build should first check if maven user has access nexus repository , if not should check local repository see if can resolve dependencies there.
reading documentation here ordered repositories remote nexus listed first. think documentation states repositories checked in order. mean tries remote location first , if finds match, we're done. if doesn't find match, move on next repository.
are expectations correct?
i've configured repositories follows:
repositories { maven { url "http://nexus/content/groups/restricted_group" credentials { username user password user } } maven { url "${rootproject.projectdir}/libs" } }
Comments
Post a Comment