Skip to content

Kotlin: allow building a single embeddable plugin version #10712

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

Conversation

smowton
Copy link
Contributor

@smowton smowton commented Oct 6, 2022

No description provided.

@smowton smowton requested a review from a team as a code owner October 6, 2022 15:25
@github-actions github-actions bot added the Kotlin label Oct 6, 2022
@smowton smowton force-pushed the smowton/admin/kotlin-allow-single-embeddable-version branch from 17cdf85 to d9fe9bb Compare October 6, 2022 15:36
@smowton smowton force-pushed the smowton/admin/kotlin-allow-single-embeddable-version branch from d9fe9bb to bb6e575 Compare October 7, 2022 10:19
elif args.many:
for version in kotlin_plugin_versions.many_versions:
compile_standalone(version)
compile_embeddable(version)
else:
compile_standalone(kotlin_plugin_versions.get_single_version())
compile_single_version(kotlin_plugin_versions.get_single_version())
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure it makes sense to support --single-version-embeddable without --single-version, in which case compile_single_version could be inlined into the args.single_version case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

igfoo
igfoo previously approved these changes Oct 7, 2022
@smowton smowton merged commit 5cadd3c into github:main Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants