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

Add a current_toolchain target to be referenced by kt_toolchain attribute #1239

Merged

Conversation

jdai8
Copy link
Contributor

@jdai8 jdai8 commented Dec 4, 2024

Fixes #1238

I copied the approach that rules_java takes here.

This will require an accompanying change in the IntelliJ plugin too.

@restingbull
Copy link
Collaborator

FYI @comius

@@ -398,3 +410,8 @@ def kt_configure_toolchains():
define_kt_toolchain(
name = "default_toolchain",
)

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is both neat and horrible.

@restingbull
Copy link
Collaborator

RBE failure is fixed in #1231

@restingbull restingbull merged commit 0b7d242 into bazelbuild:master Dec 5, 2024
1 of 2 checks passed
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.

IntelliJ always uses the default toolchain language version
2 participants