-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Remove maven central repository, use only jcenter #822
Conversation
jcenter is a super set on top of maven central, so having both of those repositories is redundant, and the preferred one should be jcenter.
Generated by 🚫 dangerJS |
Thanks for your contribution. we can remove the |
Certainly not. |
Sorry I mean replace repositories {
mavenLocal()
jcenter()
} First find in the local maven cache, if not found, find in jcenter |
Ah, sure, that's ok, sorry for the misunderstanding. I think it is implicit, but it's ok to have it anyway. |
@@ -1,7 +1,6 @@ | |||
|
|||
buildscript { | |||
repositories { | |||
mavenCentral() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace it with mavenLocal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace mavenCentral
with mavenLocal
Ensure trying to resolve dependencies from local maven cache first, before resolving from remove jcenter repository. This is due to a comment in the pull request.
* master: * [doc] publish 0.17.0 release note [WEEX-112][iOS] make weex playground app adapt to iPhone X close apache#896 * [test] bug fix , compatibility of maraca can't find element [WEEX-131][ios]URL property in error event of web component may not be the real URL, fix it. close apache#822 Add mavenLocal before jcenter repository Remove maven central repository, use only jcenter close apache#790,close apache#796,close apache#801,close apache#803 close apache#884,close apache#886,close apache#889 -[test] close apache#887 resolve apache#887 [WEEX-132][iOS] support text writing direction from right to left [WEEX-133][iOS] support word-wrap on iOS when drawing text [WEEX-129][android] Appear Event Be Fired Multi Times And Event not watch be fired [WEEX-124][android]fix android bug
…eption * release-0.16-gitlab: * [doc] publish 0.17.0 release note [WEEX-112][iOS] make weex playground app adapt to iPhone X close apache#896 * [test] bug fix , compatibility of maraca can't find element [WEEX-131][ios]URL property in error event of web component may not be the real URL, fix it. close apache#822 Add mavenLocal before jcenter repository Remove maven central repository, use only jcenter * [android] avoid crash on some device caused by RippleDrawable
jcenter is a super set on top of maven central, so having both of those repositories is redundant, and the preferred one should be jcenter.
CheckList:
(checked, although not really relevant - not a feature nor bug...)