We follow sbt conventions. IntelliJ IDEA from Jetbrains works as a build tool.
ref Testing Scala in IntelliJ with ScalaTest
probably old hat to most IDE users, but...
Alt-Enter, "Add sbt dependency"
ref Adding a library to the sbt project
widely reported. known issue. work-around: restart ibus https://youtrack.jetbrains.com/issue/IDEA-78860
I tried the scala plugin for gradle but ran into enough rough edges to conclude that it's not a well-trodden path and go back to sbt.
See Introduction to Algebraic Types in Scala by Rob Norris / @tpolecat.