Code Monkey home page Code Monkey logo

Comments (16)

ncapdevi avatar ncapdevi commented on May 27, 2024 4

@jakoss Thanks for the reminder. Will do that soon.

from fragnav.

jtorrestobena avatar jtorrestobena commented on May 27, 2024 4

Sorry forgot to mention you need jitpack for this:

See here: https://jitpack.io

from fragnav.

jakoss avatar jakoss commented on May 27, 2024 1

@jakoss @ncapdevi With all due respect, I think that's kind of easy.
I published my repo by following this guide:
https://medium.com/@ome450901/publish-an-android-library-by-jitpack-a0342684cbd0
I'm sorry if I was wrong.

Not sure why are addressing this to me, but difficulty isn't really an issue. It's main contributor time. But it's not that important now, since jfrog announced that repositories will be hosted as read only indefinitely.

from fragnav.

gildor avatar gildor commented on May 27, 2024

@ncapdevi Any updates on this? Maybe you need help

from fragnav.

mehmetdelikaya avatar mehmetdelikaya commented on May 27, 2024

Any updates?

from fragnav.

umarata avatar umarata commented on May 27, 2024

Hi @ncapdevi

I understand migration from jcenter() to mavenCentral() is time taking task and you may not have time for it.
But at least release the .aar file so we can put in project and use it till you not migrate the binary to some other source.

from fragnav.

vlazdra avatar vlazdra commented on May 27, 2024

@ncapdevi Any updates on this one?

from fragnav.

jtorrestobena avatar jtorrestobena commented on May 27, 2024

For those having issues with JCenter() here's my temporary solution, replace version if needed

implementation 'com.github.ncapdevi:FragNav:3.2.0'

from fragnav.

jakoss avatar jakoss commented on May 27, 2024

@jtorrestobena interesting, is github hosting gradle package automatically for repository?

from fragnav.

mehmetdelikaya avatar mehmetdelikaya commented on May 27, 2024

@jtorrestobena that is a good idea 👍 Just forked the library and gonna use it on my own git based repo until the library is moved from jcenter

from fragnav.

VuHongKy avatar VuHongKy commented on May 27, 2024

@jakoss @ncapdevi With all due respect, I think that's kind of easy.
I published my repo by following this guide:
https://medium.com/@ome450901/publish-an-android-library-by-jitpack-a0342684cbd0
I'm sorry if I was wrong.

from fragnav.

VuHongKy avatar VuHongKy commented on May 27, 2024

@jakoss Thank you!

from fragnav.

gildor avatar gildor commented on May 27, 2024

But it's not that important now

it's still important. Jcenter is unreliable, it had multiple big outages recently. Many projects do not allow jcenter() repository and jcenter dependencies.
In our case we re-published lib to our own private repo to get rid of jcenter

Also suggested publishing to jitpack is also not an option for many projects because of it not-secure nature and slow performance.

The library should be published to maven central

from fragnav.

mehmetdelikaya avatar mehmetdelikaya commented on May 27, 2024

Hi @gildor, I would recommend you to fork the library and use it from your own repo, something like this,

implementation 'com.github._yourgithubname_:FragNav:3.2.0'

from fragnav.

gildor avatar gildor commented on May 27, 2024

This is what we are already doing, as I said in my previous message

from fragnav.

gildor avatar gildor commented on May 27, 2024

For anyone who wants to re-publish this library to your own repository, you can refer to this PR which includes changes to allow propagate start/pause lifecycle events on show/hide of fragment, but also on the same PR we updated publishing config to be compatible with recent Gradle and Android Gradle Plugin.
To publish to own repo, just change version/group in build.gradle and set gradle properties:
publishRepoUrl
publishRepoUsername
publishRepoPassword

Like:

./gradlew publish -PpublishRepoUrl=URL -PpublishRepoUsername=USERNAME -PpublishRepoPassword=PASSWORD

from fragnav.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.