Rob Elliot
12/02/2024, 10:04 AM1. > Configure project :
w: The artifact `org.jetbrains.kotlin:kotlin-compiler-embeddable` is present in the build classpath along Kotlin Gradle plugin.
This may lead to unpredictable and inconsistent behavior.
For more details, see: <https://kotl.in/gradle/internal-compiler-symbols>
I've read the section of the page, looked at my build.gradle and am none the wiser what it is I am meant to do. I'm not writing a gradle plugin and I don't think my build logic relies on any compiler symbols.
Turns out it was the kotlinter plugin, but I had to resort to disabling plugins and reenabling them one by one to work it out.Vampire
12/02/2024, 10:08 AMbuildEnvironment
task or a build --scan
give the information you need to find where it comes from?Rob Elliot
12/02/2024, 10:12 AMbuildEnvironment
. --scan
would be inappropriate on this project.
As buildEnvironment
can pinpoint what brought in the dependency, why can't the warning specify it? And why can't the page the warning sends you to tell you about buildEnvironment
and the possibility that plugins are the problem?mbonnin
12/02/2024, 10:13 AMRob Elliot
12/02/2024, 10:14 AMmbonnin
12/02/2024, 10:14 AMmbonnin
12/02/2024, 10:14 AMmbonnin
12/02/2024, 10:15 AMwhy can't the page the warning sends you to tell you aboutThat'd be cool 👍and the possibility that plugins are the problem?buildEnvironment
Vampire
12/02/2024, 11:03 AMbuildEnvironment
and plugins might just be missing, maybe the JetBrains folks also were not aware of it.
Actually, depending on where the plugin is coming from, buildEnvironment
also might not be able to provide the necessary information, for example if the plugin comes in from a buildSrc
dependency, or from the settings plugin classpath iirc.
Maybe @tapchicoma can shed some light or take the feedback to maybe include those hints somewhere. 🙂mbonnin
12/02/2024, 11:09 AMAlexander.Likhachev
12/02/2024, 2:24 PMbuildSrc
. However, we are going to introduce a separate page describing how to deal with this problem when you’re not a plugin author. The link https://kotl.in/gradle/internal-compiler-symbols will be repointed then to this new pageAlexander.Likhachev
12/02/2024, 2:26 PMmbonnin
12/02/2024, 2:28 PMAlexander.Likhachev
12/02/2024, 2:28 PMmbonnin
12/02/2024, 2:29 PMVampire
12/02/2024, 2:31 PMmbonnin
12/02/2024, 2:32 PMVampire
12/02/2024, 2:33 PMmbonnin
12/02/2024, 2:34 PMVampire
12/02/2024, 2:34 PMVampire
12/02/2024, 2:34 PMmbonnin
12/02/2024, 2:34 PMmbonnin
12/02/2024, 2:36 PMmbonnin
12/02/2024, 2:38 PM<https://kotl.in/gradle/internal-compiler-symbols|internal-compiler-symbols>
page is about)mbonnin
12/02/2024, 2:40 PMkotlin-compiler-embeddable
to the global buildscript classpathmbonnin
12/02/2024, 2:41 PM