dwursteisen
10/11/2018, 2:09 PM* What went wrong:
org.jetbrains.kotlin.gradle.plugin.KotlinPluginWrapperKt.getKotlinPluginVersion(Lorg/gradle/api/Project;)Ljava/lang/String;
This method exist in new kotlin plugin version (1.2.61) but our build depends on the version (1.2.51) where the version doesn’t exist. The thing is: we don’t understand why it depends of the version 1.2.51 because we explicitly ask to use the 1.2.61 version. (maybe we made a mistake somewere, but we never use 1.2.51 anywhere in our build...)
When running ./gradlew build --debug
, we get this:
15:38:05.214 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Resolve kotlin-scripting-gradle.jar (org.jetbrains.kotlin:kotlin-scripting-gradle:1.2.51)' completed
There is no new version of kotlin-scripting-gradle
. Could you give us a tip to find what trying to use this dependency?ribesg
10/11/2018, 2:50 PMkotlin-scripting-gradle
?dwursteisen
10/11/2018, 2:55 PMkotlin
plugin? by the kotlin-dsl
plugin? by gradle? (we’re using gradle 4.10.2).
We dont’ declare it. But this is the first things with the version 1.2.51 we get from the logs by running gradle with --debug
ribesg
10/11/2018, 2:58 PMribesg
10/11/2018, 2:58 PMdwursteisen
10/11/2018, 3:08 PM15:38:03.074 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationExecutor] Build operation 'Resolve gradle-kotlin-dsl-plugins.jar (gradle.plugin.org.gradle.kotlin:gradle-kotlin-dsl-plugins:1.0-rc-5)' completed
But if I run `gradlew --version`:
------------------------------------------------------------
Gradle 4.10.2
------------------------------------------------------------
Build time: 2018-09-19 18:10:15 UTC
Revision: b4d8d5d170bb4ba516e88d7fe5647e2323d791dd
Kotlin DSL: 1.0-rc-6
Kotlin: 1.2.61
Groovy: 2.4.15
Ant: Apache Ant(TM) version 1.9.11 compiled on March 23 2018
JVM: 1.8.0_171 (Oracle Corporation 25.171-b11)
OS: Mac OS X 10.13.6 x86_64
Something use old component but I don’t know which one (and how to find it)ribesg
10/12/2018, 7:56 AM