sbt/plugin/src/main/scala/coursier/Keys.scala

23 lines
1.0 KiB
Scala
Raw Normal View History

2015-12-30 01:34:34 +01:00
package coursier
import java.io.File
import sbt.{ GetClassifiersModule, Resolver, SettingKey, TaskKey }
2015-12-30 01:34:34 +01:00
object Keys {
val coursierParallelDownloads = SettingKey[Int]("coursier-parallel-downloads", "") // 6
val coursierMaxIterations = SettingKey[Int]("coursier-max-iterations", "") // 50
val coursierChecksums = SettingKey[Seq[Option[String]]]("coursier-checksums", "") //Seq(Some("SHA-1"), Some("MD5"))
val coursierCachePolicy = SettingKey[CachePolicy]("coursier-cache-policy", "") // = CachePolicy.FetchMissing
2015-12-30 01:34:35 +01:00
val coursierVerbosity = SettingKey[Int]("coursier-verbosity", "")
2015-12-30 01:34:34 +01:00
val coursierResolvers = TaskKey[Seq[Resolver]]("coursier-resolvers", "")
val coursierCache = SettingKey[File]("coursier-cache", "")
val coursierProject = TaskKey[(Project, Seq[(String, Seq[Artifact])])]("coursier-project", "")
val coursierProjects = TaskKey[Seq[(Project, Seq[(String, Seq[Artifact])])]]("coursier-projects", "")
val coursierSbtClassifiersModule = TaskKey[GetClassifiersModule]("coursier-sbt-classifiers-module", "")
2015-12-30 01:34:34 +01:00
}