Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 54 lines (47 sloc) 1.942 kB
b16b0ad @harrah add sbt package object
authored
1 /* sbt -- Simple Build Tool
e6b816d @harrah add additional in scope identifiers
authored
2 * Copyright 2010, 2011 Mark Harrah
b16b0ad @harrah add sbt package object
authored
3 */
4b70fe0 @harrah auto-compiler plugins
authored
4 package object sbt extends sbt.std.TaskExtra with sbt.Types with sbt.ProcessExtra with sbt.impl.DependencyBuilders
a15bd90 @harrah artifact and cross-naming fixes/improvements
authored
5 with sbt.PathExtra with sbt.ProjectExtra with sbt.DependencyFilterExtra with sbt.BuildExtra
b16b0ad @harrah add sbt package object
authored
6 {
98c98f9 @harrah split command core to main/command/
authored
7 @deprecated("Renamed to CommandStrings.", "0.12.0")
8 val CommandSupport = CommandStrings
9
6ddeca1 @harrah merge Scoped{Setting,Task,Input} and {Setting,Task,Input}Key
authored
10 @deprecated("Use SettingKey, which is a drop-in replacement.", "0.11.1")
11 type ScopedSetting[T] = SettingKey[T]
12 @deprecated("Use TaskKey, which is a drop-in replacement.", "0.11.1")
13 type ScopedTask[T] = TaskKey[T]
14 @deprecated("Use InputKey, which is a drop-in replacement.", "0.11.1")
15 type ScopedInput[T] = InputKey[T]
16
19698e3 @harrah keys cleanup part 2
authored
17 type Setting[T] = Project.Setting[T]
18 type ScopedKey[T] = Project.ScopedKey[T]
d1af51d @harrah support explicitly defining sequences of settings in .sbt files
authored
19 type SettingsDefinition = Project.SettingsDefinition
b16b0ad @harrah add sbt package object
authored
20 type File = java.io.File
202dac6 @harrah added top-level URI alias, uri/file aliases for construction
authored
21 type URI = java.net.URI
0bea6c2 @harrah alias java.net.URL
authored
22 type URL = java.net.URL
6769c94 @harrah basis for a resident compiler
authored
23
24 object CompileOrder {
25 val JavaThenScala = xsbti.compile.CompileOrder.JavaThenScala
26 val ScalaThenJava = xsbti.compile.CompileOrder.ScalaThenJava
27 val Mixed = xsbti.compile.CompileOrder.Mixed
28 }
d837f86 @harrah using some of the embedding interfaces
authored
29 type CompileOrder = xsbti.compile.CompileOrder
d1af51d @harrah support explicitly defining sequences of settings in .sbt files
authored
30
a76d75b @harrah more flexible scalac logging
authored
31 implicit def maybeToOption[S](m: xsbti.Maybe[S]): Option[S] =
32 if(m.isDefined) Some(m.get) else None
202dac6 @harrah added top-level URI alias, uri/file aliases for construction
authored
33 def uri(s: String): URI = new URI(s)
34 def file(s: String): File = new File(s)
0bea6c2 @harrah alias java.net.URL
authored
35 def url(s: String): URL = new URL(s)
f298d3a @harrah put configurations into default build scope
authored
36
69fec71 @harrah inject internal configurations into pom ModuleDescriptor. fixes #59
authored
37 final val ThisScope = Scope.ThisScope
38 final val GlobalScope = Scope.GlobalScope
a62bf74 @harrah make ThisScope and GlobalScope in the default imports
authored
39
f298d3a @harrah put configurations into default build scope
authored
40 import sbt.{Configurations => C}
69fec71 @harrah inject internal configurations into pom ModuleDescriptor. fixes #59
authored
41 final val Compile = C.Compile
42 final val Test = C.Test
43 final val Runtime = C.Runtime
44 final val IntegrationTest = C.IntegrationTest
45 final val Default = C.Default
46 final val Docs = C.Docs
47 final val Sources = C.Sources
48 final val Provided = C.Provided
a680dc2 @harrah fix tests
authored
49 // java.lang.System is more important, so don't alias this one
69fec71 @harrah inject internal configurations into pom ModuleDescriptor. fixes #59
authored
50 // final val System = C.System
51 final val Optional = C.Optional
e6b816d @harrah add additional in scope identifiers
authored
52 def config(s: String): Configuration = Configurations.config(s)
b16b0ad @harrah add sbt package object
authored
53 }
Something went wrong with that request. Please try again.