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

Support org.jetbrains.kotlin.js plugin, bump dependencies #300

Merged
merged 3 commits into from Dec 1, 2022

Conversation

mateuszkwiecinski
Copy link
Collaborator

Fixes #299

Comment on lines +18 to +19
private fun getSourceSets(project: Project) =
project.extensions.getByType(KotlinProjectExtension::class.java).sourceSets
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started wondering if this might also work for android project 👀 Theoretically it should, but I'd have to do a bit more research if AGP doesn't do some additional magic

Comment on lines +32 to +37
kotlin {
js {
browser()
binaries.executable()
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have literally zero experience with JS, so the test environment only follows the official documentation

@mateuszkwiecinski mateuszkwiecinski marked this pull request as ready for review December 1, 2022 00:09
Copy link
Owner

@jeremymailen jeremymailen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

@mateuszkwiecinski mateuszkwiecinski merged commit 99e6606 into master Dec 1, 2022
@mateuszkwiecinski mateuszkwiecinski deleted the support_kotlinjs branch December 1, 2022 14:33
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

Successfully merging this pull request may close these issues.

[Request] Support Kotlin/JS
2 participants