Giter Site home page Giter Site logo

Maven Central about icepick HOT 13 CLOSED

frankiesardo avatar frankiesardo commented on July 23, 2024 1
Maven Central

from icepick.

Comments (13)

frankiesardo avatar frankiesardo commented on July 23, 2024

Not as easy as it looks like. I'm using mustache for easy template rendering, thus adding an external dependency that is hosted in Clojars.

It's a one-liner to add clojars repo to your gradle builds and it's easy if you use Maven as well. If that becomes an issue I might consider dropping mustache templating.

I'll leave this issue open for discussion.

from icepick.

arturdryomov avatar arturdryomov commented on July 23, 2024

Well, you are right, it is not too hard. Group ID change and manual repository resolving confused me a bit. Personally I just don’t like the idea of a possible situation when every library forces repository declaration. Plus, reliability of Clojars is not as great as Central (only theoretically of course, there is no doubt that Clojars is totally fine and stable). Your call anyway!

from icepick.

jenzz avatar jenzz commented on July 23, 2024

+1 for Maven Central or JCenter 👍

from icepick.

ragunathjawahar avatar ragunathjawahar commented on July 23, 2024

+1 for a centralized repo.

from icepick.

sockeqwe avatar sockeqwe commented on July 23, 2024

+1 👍

from icepick.

Wavesonics avatar Wavesonics commented on July 23, 2024

+1

from icepick.

frankiesardo avatar frankiesardo commented on July 23, 2024

I see many benefits of using clojars (accessing all clojure libraries, artefacts instantly available, no manual steps required and my setup publishes snapshots on every commits, etc.).

Moving to Maven means reimplementing mustache templating manually or switching to something inferior, potentially adding bugs to the library.

If there are no other reasons on the users side rather than "I don't want to add a one-liner to my Gradle build file" then no matter how many +, it is not moving away from Clojars anytime soon.

from icepick.

arturdryomov avatar arturdryomov commented on July 23, 2024

My initial personal concern was more about unification than against Clojars. There is already some controversy about repositories and it starts to disturb me. We already have Maven Central, jCenter (which actually tries to superset Central), Clojars, JitPack and so on. But I must say it is not anyone’s fault, maybe Central apply rules are kind of outdated and complex too much, which causes portion of the trouble.

Anyway, I don’t see any technical reasons to move to Central. Maybe resolution time is a bit longer with Clojars applied?

I’m closing the issue, feel free to reopen it if you have any technical concerns like @frankiesardo said.

from icepick.

arturdryomov avatar arturdryomov commented on July 23, 2024

A side effect of using Clojure is messing APK a little. There are some files embedded in the package which we clearly don’t want to have.

  • project.clj
  • META-INF/leiningen/frankiesardo/icepick/project.clj

Yes, it is is possible to configure android.packagingOptions.exclude. Yes, it is not a biggie. But this and additional repository declaration in each project is kind of annoying.

And yes, Java is “boring” and so on, but JavaPoet is not that bad. Just saying.

from icepick.

frankiesardo avatar frankiesardo commented on July 23, 2024

It shouldn't be too hard to exclude those files from icepick jars, let me have a look.

If done properly nobody should be able to tell a Clojure jar from a Java one. Just saying :octocat:

from icepick.

arturdryomov avatar arturdryomov commented on July 23, 2024

Agreed! ✨

from icepick.

frankiesardo avatar frankiesardo commented on July 23, 2024

Fixed in 3b6ab14

from icepick.

arturdryomov avatar arturdryomov commented on July 23, 2024

Thanks!

from icepick.

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.