Comments (8)
Well sorry I just never published anything on maven central.
Do you know any relatively simple project that can be used as a template for publishing from GitHub CI?
from kotlin-libui.
I followed https://dev.to/kotlin/how-to-build-and-publish-a-kotlin-multiplatform-library-going-public-4a8k for my matrix-kt
project. (Check the last few commits on the master branch)
It similar to yours as it has bindings. Besides having a lot of files it's fairly simple on the gradle side of things.
Feel free to ping me on Slack (or here I guess) if you have questions and I might be able to answer them 🙂.
from kotlin-libui.
from kotlin-libui.
I think Jitpack website is a easier way than publishing in the maven central.
You can publish a java/kotlin library in this website by creating a release in github,Why not think about this?
from kotlin-libui.
I just absolutely didn't have time last month, sorry.
And hope Kotlin 1.7.20 will be finally released today or next week, and plan to upgrade to it before publishing to maven central.
from kotlin-libui.
I just absolutely didn't have time last month, sorry. And hope Kotlin 1.7.20 will be finally released today or next week, and plan to upgrade to it before publishing to maven central.
I appreciate the update
from kotlin-libui.
Hi 👋 I'd like to be able to help with this. I've configured a few Kotlin multiplatform projects, (kxs-ts-gen and ks3) for Maven Central publishing.
There are a few gotchas that can really cause trouble.
- Maven Central requires a Javadoc jar, even if the publication includes a sources jar. The best workaround is to publish an empty Javadoc jar.
- Maven Central requires all published artifacts are signed. This can be difficult to set up in Gradle, because the signing plugin hasn't been maintained. Try having a look at the config here for the workaround.
- Disabling duplicate publications can be difficult (although it seems like you already have config for that).
If you like I can create a PR that re-implements the same logic as in ks3? This will involved some refactoring of the build logic though, by creating Gradle buildSrc convention plugins to make the build logic more modular.
from kotlin-libui.
I'd be glad to offer a repo for publishing in the meanwhile, if this helps
from kotlin-libui.
Related Issues (20)
- Documentation
- Can we have a OpenFolderDialog()? HOT 12
- Common UI for native and JVM ? HOT 1
- 32-bit windows target HOT 5
- "ld.lld: error: unable to find library" on CentOS7 HOT 6
- Any ways to manually close the window?
- Add support for copy/paste shortcut on TextField and TextArea (on macOS) HOT 1
- libtinfo.so.5: cannot open shared object file: No such file or directory HOT 3
- Add fieldset and field options
- File/Dir Choose&Open Support HOT 2
- Missing support for `linux_arm32_hfp` HOT 3
- How to display link?
- User guide/Documentation HOT 1
- Can't use MsgBox in worker
- Integrate with Jetbrains Compose HOT 8
- [Documentation] could this example https://github.com/msink/kotlin-libui/tree/master/samples/drawtext be explained a bit better?
- How to show images from res folder and also via URL ?
- Depends on old version of libcrypt HOT 2
- libui-ng? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlin-libui.