Hi. Something strange happening to my gradle (groo...
# getting-started
a
Hi. Something strange happening to my gradle (groovy) project when trying to update kotlin version from 1.6.21 to 1.7.10:
Copy code
An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.jvm', version: '1.7.10']
> Failed to apply plugin 'org.jetbrains.kotlin.jvm'.
   > The task 'compileKotlin' (org.jetbrains.kotlin.gradle.tasks.KotlinCompile) is not a subclass of the given type (org.gradle.api.tasks.compile.AbstractCompile).

* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Exception is:
org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'org.jetbrains.kotlin.jvm', version: '1.7.10']
	at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.exceptionOccurred(DefaultPluginRequestApplicator.java:223)
Looks like something simple, but as often with gradle, simple things are not simple to find ­čś× Any ideas anyone?
Gradle version is latest (7.4.2)
d
1.7.10 is not released yet Please wait for the announcement of use 1.7.0
a
Doesn't matter - anything starting 1.7.0 gives same error.
d
cc @tapchicoma
t
Since Kotlin 1.7.0 Kotlin compile tasks do not inherit
AbstractCompile
task
FYI better to ask such questions in #gradle channel - most probably you will get the answer faster )
a
Thanks guys, going to do as suggested.