Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Remove maven central repository, use only jcenter #822

Closed
wants to merge 2 commits into from

Conversation

yinonavraham
Copy link
Contributor

@yinonavraham yinonavraham commented Oct 25, 2017

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:

  • Update API docs for the component.
  • Update/Add demo to demonstrate new feature.
  • Update test scripts for the feature.
  • Add unit tests for the feature.

(checked, although not really relevant - not a feature nor bug...)

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.
@weex-bot
Copy link

weex-bot commented Oct 25, 2017

Messages
📖 has no android file changed.
📖 android test finished.

Generated by 🚫 dangerJS

@misakuo
Copy link
Member

misakuo commented Nov 21, 2017

Thanks for your contribution. we can remove the mavenCentral from repositories, but I think to replace it with mavenLocal will be better?

@yinonavraham
Copy link
Contributor Author

Certainly not. mavenLocal is your local maven cache (i.e. the .m2 directory). Doing so will remove any central maven repository. You should at least have either jcenter or mavenCentral, I defenetly prefer jcenter.

@misakuo
Copy link
Member

misakuo commented Nov 21, 2017

Sorry I mean replace mavenCentral with mavenLocal

 repositories {
        mavenLocal()
        jcenter()
  }

First find in the local maven cache, if not found, find in jcenter

@yinonavraham
Copy link
Contributor Author

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()
Copy link
Member

Choose a reason for hiding this comment

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

Replace it with mavenLocal

Copy link
Member

@misakuo misakuo left a 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.
@asfgit asfgit closed this in ee8094e Nov 21, 2017
atomtong added a commit to atomtong/incubator-weex that referenced this pull request Nov 29, 2017
* 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
atomtong added a commit to atomtong/incubator-weex that referenced this pull request Nov 29, 2017
…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
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.

None yet

4 participants