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

Enable Kotlin 1.3 in the rules_kotlin. #7

Merged
merged 3 commits into from
Jun 13, 2019
Merged

Conversation

cgruber
Copy link
Owner

@cgruber cgruber commented Jun 13, 2019

Exposes a toolchain function (define_kt_toolchain) to allow the specification of non-default chains. Sets the default chain to 1.3.21. Removes the now-removed use-coroutines flag, which is permanently on. This also sets the compiler to permit use of experimental APIs. This is needed for people migrating from the older experimental coroutines to the new ones, during migration. This should be configurable, but for now it's just set. Also fixes up some tests and does some minor cleaning.

Fixes bazelbuild#159

Note: This no longer supports using pre-1.3 kotlinc distributions. You can make a toolchain that sets the language and api levels to 1.3, but you must use a 1.3+ kotlinc.

cgruber added 3 commits June 12, 2019 20:44
Exposes a toolchain function (define_kt_toolchain) to allow the specification of non-default chains. Sets the default chain to 1.3.21. Removes the now-removed use-coroutines flag, which is permanently on.  This also sets the compiler to permit use of experimental APIs.  This is needed for people migrating from the older experimental coroutines to the new ones, during migration.  This should be configurable, but for now it's just set. Also fixes up some tests and does some minor cleaning.

Fixes bazelbuild#159

> Note: This no longer supports using pre-1.3 kotlinc distributions. You can make a toolchain that sets the language and api levels to 1.3, but you must use a 1.3+ kotlinc.
@cgruber cgruber merged commit cde6391 into legacy_continued Jun 13, 2019
@cgruber cgruber deleted the kotlin_1_3 branch June 13, 2019 04:12
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.

Kotlin 1.3 support
1 participant