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

Pass compilation args using the official way #601

Conversation

Bencodes
Copy link
Collaborator

@Bencodes Bencodes commented Oct 15, 2021

Pulling this portion of the Kotlin 1.5.30 support out of the original PR. We should be able to merge this independently so that people can use Kotlin 1.5.30 without rules_kotlin having it as the default.

Original PR here: #588

@Bencodes
Copy link
Collaborator Author

@cgruber @restingbull mind taking a quick look at this so that we can unblock Kotlin 1.5.30 and Compose?

Copy link
Collaborator

@cgruber cgruber left a comment

Choose a reason for hiding this comment

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

This seems fine to me, but I want @restingbull to confirm it's not going to clobber or interfere with his other efforts around 1.5.

return this
}

fun list(): List<String> = args.toList()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Probably should stick with the toList() naming pattern.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't just merge it as we needed the base64 encoding for older versions of kotlinc. Currently working on a way to preserve versionsing without making too much of a mess.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Added branch to cover pre-1.5

Not the way I would like it, but I don't want to hold up progress while I yak shave with one hand.

@restingbull restingbull merged commit e5d54f8 into bazelbuild:master Nov 19, 2021
@Bencodes Bencodes deleted the pass-compilation-args-using-the-official-way branch November 19, 2021 19:14
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

3 participants