Skip to content

Update Kotlin Version #202

Description

@Kobting

Edit: After writing this I realize that if they are binary compatible there is nothing stopping someone from writing a mod with 1.7.20 and it should work fine with the Kotlin version provided by ModTheSpire.

Suggestion:

ModTheSpire should update the Kotlin version it includes to 1.7.20

The Kotlin version (1.4.10) shipped with ModTheSpire is 3 years old at this point. This excludes the possible use of new language features or libraries that would be helpful when writing a mod in Kotlin.

From looking at all the compatibility guides from 1.4 up to 1.9 it looks like it should be safe to update to version 1.7.20

Reasoning:

There are no stated binary compatibility issues between 1.4.10 and 1.7.20. The first binary compatibility issue happens in 1.8 (link).

Downside:

Anyone using ModTheSpire to update/create a mod will need to update the version of Kotlin they use and fix any source compatibility issues that happen between 1.4.10 and 1.7.20.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions