clojars

Ingy döt Net 2024-02-27T17:20:59.062059Z

Greetings. I have made a shared library https://github.com/yaml/yamlscript/releases And written/published binding libraries to it in 5 programming languages so far. The goal is dozens. @delon submitted 2 PRs for a Java binding and a Clojure binding. The Java binding uses JNA and the Clojure binding just deps on the Java binding. I was going to publish the Java binding to Maven Central and the Clojure binding to Clojars. Now I'm thinking to publish both to Clojars. Can I publish Java only packages to Clojars?

Ingy döt Net 2024-02-27T17:22:50.051269Z

BTW, I eventually want to publish the Java to MC but I need to get this done yesterday, and only care about Clojure users at the moment.

2024-02-27T17:23:34.727579Z

Yes, it would be fine to publish the java package to Clojars. Just be aware that any consumers would have to add Clojars as a repo to their project configs, in addition to Maven Central for possibly other stuff.

Ingy döt Net 2024-02-27T17:24:14.677959Z

but clojure tooling would do that automatically, right?

2024-02-27T17:24:43.759659Z

Gotcha. If you publish to clojars now, but MC later, folks may be confused, because they won't see new releases on Clojars. So I would recommend getting it on MC first if possible.

2024-02-27T17:25:01.795309Z

Yes, clojure projects will already depend on Clojars. I was thinking about any pure-java consumers.

Ingy döt Net 2024-02-27T17:25:17.396859Z

right

Ingy döt Net 2024-02-27T17:25:25.012609Z

makes sense

Ingy döt Net 2024-02-27T17:25:40.232429Z

do you publish to MC?

2024-02-27T17:26:30.141059Z

I have in the past, but it has been a while.

Ingy döt Net 2024-02-27T17:26:38.943159Z

I asked around about this and almost nobody except @alexmiller seems to.

Ingy döt Net 2024-02-27T17:27:22.591679Z

I have an old sonatype account but it seems like they are going through some changes right now.

2024-02-27T17:27:34.162939Z

https://github.com/projectodd/shimdandy is the last thing I published to MC I think, but it is maven-based.

Ingy döt Net 2024-02-27T17:27:49.594359Z

nice

Ingy döt Net 2024-02-27T17:28:44.583189Z

I'll give MC one more go, I guess.

Ingy döt Net 2024-02-27T17:29:08.075579Z

Might have some questions for you if you don't mind

2024-02-27T17:29:44.902199Z

Sure thing, I'll answer what I can!

🙏 1