Skip to content
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

how to use external libraries #119

Open
christian-draeger opened this issue Apr 18, 2021 · 2 comments
Open

how to use external libraries #119

christian-draeger opened this issue Apr 18, 2021 · 2 comments

Comments

@christian-draeger
Copy link
Contributor

is it possible to use libraries inside of playground?
i am maintaining an open source kotlin library (currently for JVM, KotlinJS is planed) and think it would be pretty nice to have prepared examples / code snippets on how to use the library via playground in the docs.
furthermore it would be really handy whilst trying out other libraries in general.
i couldn't find something about this topic in the readme.
is this supported in any way (or even planed or let's say a valid feature request) or would i need to run my own fork of kotlin-compiler-server and add my library their (which would lead me to a bunch of drawbacks in comparison to have it as an upstream feature).

@AlexanderPrendota
Copy link
Collaborator

Hello, @christian-draeger.

Unfortunately, you have to fork kotlin-compiler-server and add your library as a dependency.

You can host your own server or use AWS lambdas or I recommend you to try the Kotless project to deploy your server.

If you need any help just ping me.

@TheHett
Copy link

TheHett commented Nov 21, 2023

Can you add kotlinx libs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants