https://kotlinlang.org logo
Title
r

rivu.chakraborty

10/30/2018, 8:23 AM
Hi, facing an issue with Kotlin gradle dsl, need some help. We've a multi-module project, with a module
:buildSrc
providing dependencies to all other modules with Kotlin Gradle DSL. This is the build.gradle.kts file inside buildSrc
import org.gradle.kotlin.dsl.`kotlin-dsl`

plugins {
    `kotlin-dsl`
}
It was running perfectly well with Kotlin 1.2.50, but as soon as we update the Kotlin version to 1.3.0, we're getting the below gradle issue.
org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':buildSrc'.
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.gradle.internal.event.ListenerNotificationException: Failed to notify project evaluation listener.
g

gildor

10/30/2018, 9:41 AM
Could you show full stack trace?
k

kingsley

11/03/2018, 2:06 PM
Stacktrace looks weird. What version of the plugin are you using. From 1.0RC6, the plugin now required that you explicitly add a
repositories
block in that file? See the last point under breaking changes: https://github.com/gradle/kotlin-dsl/releases/tag/v1.0-RC6