title: Importing scala.reflect.runtime
body: <p>Why below code works in interpreter by default but in case of sbt project requires explicit importing of the dependencies?</p>
  
  <pre><code>Welcome to Scala 2.12.3 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_144).
  Type in expressions for evaluation. Or try :help.
  
  scala&gt; import scala.reflect.runtime._
  import scala.reflect.runtime._
  </code></pre>
  
  <p>vs</p>
  
  <p><code>sbt run</code> throws </p>
  
  <pre><code>object runtime is not a member of package reflect
  </code></pre>
  
  <p>without</p>
  
  <pre><code>libraryDependencies += "org.scala-lang" % "scala-reflect" % "2.12.3"
  </code></pre>
  
  <p>in build.sbt</p>