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

前端 未结 4 1981
说谎
说谎 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:01

    If you use sbt-revolver plugin, here is a solution for its "reStart" task:

    fullClasspath in Revolver.reStart <<= fullClasspath in Compile

    UPD: for sbt-1.0 you may use the new assignment form:

    fullClasspath in Revolver.reStart := (fullClasspath in Compile).value

提交回复
热议问题