Git Product home page Git Product logo

Comments (6)

thedarkcolour avatar thedarkcolour commented on August 25, 2024

Check the README.md, I changed the part you need to copy + paste into your build.gradle.

from kotlinforforge.

thedarkcolour avatar thedarkcolour commented on August 25, 2024

If you're wondering what's changed, I added an extra repository to the buildscript for the Kotlin gradle plugin and to the dependencies block for Kotlin Early Access. I've also added two extra lines to the compileKotlin.kotlinOptions so that 1.4 language features are enabled.

from kotlinforforge.

jrddunbr avatar jrddunbr commented on August 25, 2024

Isn't Kotlin 1.4M a preview release though? I would think you want to target stable versions, right?

https://blog.jetbrains.com/kotlin/2020/03/kotlin-1-4-m1-released/

Not a big issue, but I think we're going to hold back on our end for the stable releases.

from kotlinforforge.

thedarkcolour avatar thedarkcolour commented on August 25, 2024

They're taking quite a while to release a stable version of 1.4, and I haven't experienced any issues using 1.4-M1. I'm providing the option for those like myself who appreciate the new features of Kotlin 1.4, such as the SAM conversions, faster compiler algorithm, trailing commas, and mixing named arguments with unnamed arguments.

from kotlinforforge.

thedarkcolour avatar thedarkcolour commented on August 25, 2024

I think that you should also be aware that I've fixed addListener and addGenericListener in the latest versions of Kotlin for Forge. I've wanted to use them for a while so I finally got around to patching them!

from kotlinforforge.

jrddunbr avatar jrddunbr commented on August 25, 2024

Sounds decent, just seems like it's breaking builds that use the current stable. I'll see about moving our project to 1.4M, I read the release notes yesterday and it seemed fine.

from kotlinforforge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.