package com.earldouglas.xwp

import sbt._
import sbt.Def.taskKey
import sbt.Def.settingKey

object JettyPlugin extends AutoPlugin {

  object autoImport {
    lazy val Jetty = config("jetty").hide
  }

  import ContainerPlugin.autoImport._
  import autoImport._

  override def requires = ContainerPlugin

  override val projectConfigurations = Seq(Jetty)

  val jettyRunner = "org.eclipse.jetty" % "jetty-runner" % "9.4.8.v20171121"

  override lazy val projectSettings =
    ContainerPlugin.containerSettings(Jetty) ++
      inConfig(Jetty)(
        Seq( containerLibs := Seq(jettyRunner.intransitive())
           , containerMain := "org.eclipse.jetty.runner.Runner"
           )
      )
}

package com.earldouglas.xwp

import sbt._
import sbt.Def.taskKey
import sbt.Def.settingKey

object JettyPlugin extends AutoPlugin {

  object autoImport {
    lazy val Jetty = config("jetty").hide
  }

  import ContainerPlugin.autoImport._
  import autoImport._

  override def requires = ContainerPlugin

  override val projectConfigurations = Seq(Jetty)

  val jettyRunner = "org.eclipse.jetty" % "jetty-runner" % "9.4.20.v20190813"

  override lazy val projectSettings =
    ContainerPlugin.containerSettings(Jetty) ++
      inConfig(Jetty)(
        Seq( containerLibs := Seq(jettyRunner.intransitive())
           , containerMain := "org.eclipse.jetty.runner.Runner"
           )
      )
}

Update default jetty-runner to the latest version
Update default jetty-runner to the latest version
