JetBrains / sbt-idea-plugin

Develop IntelliJ plugins with Scala and SBT
Apache License 2.0
97 stars 28 forks source link

build.sbt intellijRuntimePlugins confusion #132

Closed AlexWeinstein92 closed 2 months ago

AlexWeinstein92 commented 2 months ago

Up until today, I was having no problems with my build.sbt here: https://github.com/ossuminc/riddl-idea-plugin/blob/main/build.sbt

Now I am getting errors on sbt startup like so:

/Users/alwein-imp/Documents/ossuminc/riddl-idea-plugin/build.sbt:45: error: not found: value intellijRuntimePlugins
    intellijRuntimePlugins := Seq(
    ^
sbt.compiler.EvalException: Type error in expression

When I take out relevant lines from my build.sbt

    intellijRuntimePlugins := Seq(
      "org.jetbrains.kotlin".toPlugin
    ),

I get the following error: [error] spray.json.DeserializationException: Object is missing required member 'versionSuffix'

I have little clue as to what could be going wrong. I do not import spray.json manually. Please advise

AlexWeinstein92 commented 2 months ago

I switched back from 4.0.0-RC15 to 3.26.2, issue resolved