Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 665 Bytes
package com.blstream.sbtsearchmavenplugin
import sbt._
import sbt.Keys.{ streams, aggregate }
object SbtSearchMavenPlugin extends AutoPlugin with SearchWithDependencies {
override def trigger = allRequirements
object autoImport {
lazy val searchMaven = InputKey[Unit]("searchMaven", "Search maven")
import autoImport._
override lazy val projectSettings = Seq(
searchMaven := search(complete.DefaultParsers.spaceDelimited("<arg>").parsed, streams.value.log),
aggregate in searchMaven := false
trait SearchWithDependencies
extends Search
with MavenOrgSearcher
with QueryCleaner
with ResultsParser
with ArtifactsPrinter