-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] How i can install? #7
Comments
For a JVM or JS project?
… On May 19, 2020, at 3:24 PM, jershell ***@***.***> wrote:
I want to try your solution, but I don't know how to add to my project. Do you can to add info to the README.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
For JS |
Sorry - I'm really not familiar with JavaScript packaging. The person
that motivated the JS port of ksvg didn't explain how they used it :-(
…On Thu, May 21, 2020 at 6:43 PM jershell ***@***.***> wrote:
For JS
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Who did the JS port? I've been trying to use this library in a Kotlin/JS project but I can't seem to get it set up correctly either. |
I did the code, but never found someone to help with the JS packaging. |
Ah. I don't know packaging for libs, but I've been talking to some folks who do, so I may look into seeing if I can improve that at all. No promises… |
Please see #10 |
JitPack doesn't support Kotlin Multiplatform jitpack/jitpack.io#3853 A fairly quick solution for sharing this library is to publish it to GitHub packages. This has a drawback however: users must create an access token. https://github.community/t/download-from-github-package-registry-without-authentication/14407/145 Alternatively, you can publish to a local directory within the project and commit that directory to the repo. Users can then add the 'raw' GitHub link to that directory as a Maven repo. Publishing to Maven Central is best for users - but it's a little more involved. The Gradle + KMP plugin support for this is poor, but as this is a single project I think it should be easy. There are other solutions, like hosting your own Maven repo, or a paid solution - but I don't have experience with those. I'd recommend doing it properly with Maven Central, but 'publish to local directory' is a quick and easy win. I can help out with either! |
I want to try your solution, but I don't know how to add to my project. Do you can to add info to the README.
The text was updated successfully, but these errors were encountered: