Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kotlin version that is used for building with Gradle (1.5.0) differs from the one bundled into the IDE plugin (1.5.0-release-764) [closed]

how fix warning? Kotlin version that is used for building with Gradle (1.5.0) differs from the one bundled into the IDE plugin (1.5.0-release-764)

after create new project and after fix error (change 1.5.0-release-764 to 1.5.0)

Simple Solve: Just Update Kotlin plugin!

like image 615
Fortran Avatar asked May 08 '21 09:05

Fortran


People also ask

Is Kotlin 1.5 stable?

The Android Kotlin compiler produces Java 8 bytecode by default (which runs in any later JVM), but lets the programmer choose to target Java 9 up to 18, for optimization, or allows for more features; has bidirectional record class interoperability support for JVM, introduced in Java 16, considered stable as of Kotlin ...

Does gradle work with Kotlin?

Gradle is a build system that is very commonly used in the Java, Android, and other ecosystems. It is the default choice for Kotlin/Native and Multiplatform when it comes to build systems.

How do I find my Kotlin version?

You can check the Kotlin version in Tools | Kotlin | Configure Kotlin Plugin Updates. If you have projects created with earlier Kotlin versions, change the Kotlin version in your projects and update kotlinx libraries if necessary – check the recommended versions.

What is Kotlin and Gradle?

You can use the official Kotlin Gradle Plugin from JetBrains to compile your Kotlin code to target JVM, Android, and JS. Gradle has features you cannot get from other build tools: A highly-customizable dependency resolution engine, visual build inspection and debugging tools, and many work avoidance mechanisms.


2 Answers

I think you can ignore this one. I believe this bug will be fixed soon anyway, which should fix this warning too.

like image 152
ChocolateChapta Avatar answered Oct 17 '22 04:10

ChocolateChapta


According to the comments here https://issuetracker.google.com/issues/187403740 the issue will be fixed with Kotlin 1.5.10: https://youtrack.jetbrains.com/issue/KTIJ-7657

like image 5
narko Avatar answered Oct 17 '22 03:10

narko