scip-java icon indicating copy to clipboard operation
scip-java copied to clipboard

`Failed to query the value of property 'freeCompilerArgs'` in buildSrc task

Open Strum355 opened this issue 2 years ago • 0 comments

Not sure if this is specific to buildSrc tasks, but when indexing https://sourcegraph.com/github.com/minecraft-dev/MinecraftDev I got the below error

Welcome to Gradle 8.2!

...

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':buildSrc:jar'.
> Could not create task ':buildSrc:compileKotlin'.
   > Failed to query the value of property 'freeCompilerArgs'.
      > Querying the mapped value of map(flatmap(provider(task 'generatePrecompiledScriptPluginAccessors', class org.gradle.kotlin.dsl.provider.plugins.precompiled.tasks.GeneratePrecompiledScriptPluginAccessors))) before task ':buildSrc:generatePrecompiledScriptPluginAccessors' has completed is not supported

Source of the error is here: https://sourcegraph.com/github.com/sourcegraph/[email protected]/-/blob/semanticdb-gradle-plugin/src/main/scala/SemanticdbGradlePlugin.scala?L334

Strum355 avatar Aug 11 '23 11:08 Strum355