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

KTL-114 Add kotlinx.serialization compiler plugin to Kotlin Playground #540

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nikpachoo
Copy link
Collaborator

@nikpachoo nikpachoo commented Sep 6, 2022

There is a draft for supporting kotlinx.coroutines.

Status note:
These changes are not working for some reason. I am trying to find out what is wrong.

@@ -113,6 +114,11 @@ class KotlinEnvironment(
private fun createConfiguration(): CompilerConfiguration {
val arguments = K2JVMCompilerArguments()
parseCommandLineArguments(additionalCompilerArguments, arguments)

if (compilerPlugins.isNotEmpty()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

is it possible to pass arguments only if we need plugins?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sorry, I am not sure what you mean.
The arguments are passed only if the plugin was defined if the build.gradle.kts.
So, for me, it is what you asked for :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

it's not necessary to have compiler plugins if we don't use them in the code

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.

None yet

2 participants