GithubHelp home page GithubHelp logo

Incompatibility with Kotlin v2 about fabric HOT 6 CLOSED

gmitch215 avatar gmitch215 commented on September 26, 2024
Incompatibility with Kotlin v2

from fabric.

Comments (6)

modmuss50 avatar modmuss50 commented on September 26, 2024

I dont think this has anything to do with Kotlin, and is likely caused by an outdated gradle plugin (usually the foojay resolver), or an incorrect multi project setup.

from fabric.

gmitch215 avatar gmitch215 commented on September 26, 2024

I dont think this has anything to do with Kotlin, and is likely caused by an outdated gradle plugin (usually the foojay resolver), or an incorrect multi project setup.

Don't see it in my Gradle Build; dunno what would be incorrect about the multi-project setup. It succeeds on previous Kotlin versions, so there might be something there.

from fabric.

modmuss50 avatar modmuss50 commented on September 26, 2024

There is a Gradle bug that allows other Gradle plugins to pull in an older version of shared transitive dependenies such as gson.

You should make sure that you define all of your plugin versions in the root project, as documented here: https://docs.gradle.org/current/userguide/plugins.html#sec:subprojects_plugins_dsl

from fabric.

gmitch215 avatar gmitch215 commented on September 26, 2024

If that was true, why would it work on older Kotlin versions? The only thing that changed is the kotlin("jvm") plugin version - which doesn't even use Gson as a dependency - which is why this error is super weird. Even if that is the issue, why is K2 suddenly throwing a fit?

from fabric.

modmuss50 avatar modmuss50 commented on September 26, 2024

Im not sure why this happens, this error happens when loom does not have the correct version of GSON on the classpath even though it correctly depends on a newer version.

FLK is building fine with Kotlin 2

from fabric.

github-actions avatar github-actions commented on September 26, 2024

👋 We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for either a discussion thread, or a message on our discord server. Please post your request on one of these, and the conversation can continue there.

from fabric.

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.