Skip to content

Kotlin library build error, expected version is 1.5.1 #52

Discussion options

You must be logged in to vote

Rush currently only supports v1.5.32 of Kotlin. However, you can manually upgrade it. Here's how:

  1. Download latest kotlin-compiler.zip from here.

  2. Go to $RUSH_DATA_DIR/tools/kotlinc and replace it's contents with the ones from the above ZIP. On Windows, $RUSH_DATA_DIR is %AppData%\rush; on Linux, it's $HOME/rush.

  3. Then, go to $RUSH_DATA_DIR/tools/kotlinc/lib, and then copy annotations-13.0.jar, kotlin-stdlib.jar and kotlib-stdlib-sources.jar from there to $RUSH_DATA_DIR/dev-deps/kotlin.

  4. Done!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nabadeepbg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants