I've updated to 2.0.0 rc 2 and I'm getting an erro...
# getting-started
z
I've updated to 2.0.0 rc 2 and I'm getting an error during JVM compilation that I cannot figure out what is specifically triggering it. Not sure if it's something in my project configuration or a bug I can't find any meaningful information from the log either
Copy code
e: Wrong plugin option format: null, should be plugin:<pluginId>:<optionName>=<value>
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':common:compileKotlinJvm'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
🚀 1
👍 1
🎉 1
👋 1
t
Might help to see your pom.xml or Gradle file, specifically any part about plugins.
z
I figured it out after removing things from my build script until it worked The code erroring was
Copy code
composeCompiler {
    reportsDestination = project.file("${project.layout.buildDirectory}/compose")
}
Fixed by:
Copy code
composeCompiler {
    reportsDestination = project.layout.buildDirectory.dir("compose")
}
Weird how vague the error was though, surely that should be improved. Wonder if this is gradle kotlins fault for the poor error or compose compiler plugin
t
I don't know, but I will say that I eventually switched my project back to Maven after some time because of just how unstable and badly documented the Gradle stuff was.