How to add “provided” dependencies back to run/test tasks' classpath?

前端 未结 4 1986
说谎
说谎 2020-11-28 22:22

Here\'s an example build.sbt:

import AssemblyKeys._

assemblySettings

buildInfoSettings

net.virtualvoid.sbt.graph.Plugin.graphSettings

name :         


        
4条回答
  •  感动是毒
    2020-11-28 23:04

    Adding to @douglaz' answer,

    runMain in Compile <<= Defaults.runMainTask(fullClasspath in Compile, runner in (Compile, run))
    

    is the corresponding fix for the runMain task.

提交回复
热议问题