Avatar ·

Error "Kotlin runtime JAR files in the classpath should have the same version": what to do?

Hi! I'm new to Kotlin and trying to build my first project using Gradle. I have a simple `Main.kt` file: ```kotlin fun main() { println("Hello, Kotlin!") } ``` I added the Kotlin plugin in `build.gradle.kts`: ```kotlin plugins { kotlin("jvm") version "1.8.0" } ``` But when I run the build via `./gradlew build`, I get this warning: ``` warning: Kotlin runtime JAR files in the classpath should have the same version (found 1.8.0, 1.7.10 in classpath) ``` I checked my dependencies — I don't have any third-party stuff, only the Kotlin standard library. Why does this warning appear? I'm using IntelliJ IDEA, if that matters. Please explain what this means and how to fix it. Thanks in advance!