-
Notifications
You must be signed in to change notification settings - Fork 928
/
Import.scala
368 lines (355 loc) · 17.6 KB
/
Import.scala
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
/*
* sbt
* Copyright 2011 - 2018, Lightbend, Inc.
* Copyright 2008 - 2010, Mark Harrah
* Licensed under Apache License 2.0 (see LICENSE)
*/
package sbt
trait Import {
type Setting[T] = Def.Setting[T]
type ScopedKey[T] = Def.ScopedKey[T]
type SettingsDefinition = Def.SettingsDefinition
type File = java.io.File
type URI = java.net.URI
type URL = java.net.URL
@deprecated("Will be removed in sbt 2", "1.0.0-RC3")
def Seq2Vector[T](s: Seq[T]): Vector[T] = s.toVector
// sbt
val StdoutOutput = sbt.OutputStrategy.StdoutOutput
type BufferedOutput = sbt.OutputStrategy.BufferedOutput
val BufferedOutput = sbt.OutputStrategy.BufferedOutput
type LoggedOutput = sbt.OutputStrategy.LoggedOutput
val LoggedOutput = sbt.OutputStrategy.LoggedOutput
type CustomOutput = sbt.OutputStrategy.CustomOutput
val CustomOutput = sbt.OutputStrategy.CustomOutput
val AllRequirements = sbt.PluginTrigger.AllRequirements
val NoTrigger = sbt.PluginTrigger.NoTrigger
// sbt.testing
type TestResult = sbt.protocol.testing.TestResult
val TestResult = sbt.protocol.testing.TestResult
// sbt.io
val AllPassFilter = sbt.io.AllPassFilter
val CopyOptions = sbt.io.CopyOptions
type CopyOptions = sbt.io.CopyOptions
val DirectoryFilter = sbt.io.DirectoryFilter
type ExactFilter = sbt.io.ExactFilter
val ExistsFileFilter = sbt.io.ExistsFileFilter
val FileFilter = sbt.io.FileFilter
type FileFilter = sbt.io.FileFilter
val GlobFilter = sbt.io.GlobFilter
val Hash = sbt.io.Hash
val HiddenFileFilter = sbt.io.HiddenFileFilter
val IO = sbt.io.IO
type Mapper = sbt.io.Mapper
val NameFilter = sbt.io.NameFilter
type NameFilter = sbt.io.NameFilter
val NothingFilter = sbt.io.NothingFilter
val Path = sbt.io.Path
val PathFinder = sbt.io.PathFinder
type PathFinder = sbt.io.PathFinder
type PatternFilter = sbt.io.PatternFilter
type RichFile = sbt.io.RichFile
type SimpleFileFilter = sbt.io.SimpleFileFilter
type SimpleFilter = sbt.io.SimpleFilter
type WatchSource = sbt.internal.io.Source
val WatchSource = sbt.internal.io.Source
// sbt.nio
val ** = sbt.nio.file.**
val * = sbt.nio.file.*
val AnyPath = sbt.nio.file.AnyPath
type ChangedFiles = sbt.nio.file.ChangedFiles
val ChangedFiles = sbt.nio.file.ChangedFiles
type FileChanges = sbt.nio.FileChanges
val FileChanges = sbt.nio.FileChanges
type Glob = sbt.nio.file.Glob
val Glob = sbt.nio.file.Glob
type PathFilter = sbt.nio.file.PathFilter
val PathFilter = sbt.nio.file.PathFilter
type RelativeGlob = sbt.nio.file.RelativeGlob
val RelativeGlob = sbt.nio.file.RelativeGlob
val RecursiveGlob = sbt.nio.file.RecursiveGlob
val Watch = sbt.nio.Watch
// sbt.util
type AbstractLogger = sbt.util.AbstractLogger
type BasicCache[I, O] = sbt.util.BasicCache[I, O]
type BasicCacheImplicits = sbt.util.BasicCacheImplicits
type Cache[I, O] = sbt.util.Cache[I, O]
val Cache = sbt.util.Cache
val CacheImplicits = sbt.util.CacheImplicits
@deprecated("Use Tracked.inputChanged and Tracked.outputChanged instead", "1.0.1")
type Changed[O] = sbt.util.Changed[O]
type ChangeReport[T] = sbt.util.ChangeReport[T]
val ChangeReport = sbt.util.ChangeReport
type ControlEvent = sbt.util.ControlEvent
val ControlEvent = sbt.util.ControlEvent
type Difference = sbt.util.Difference
val Difference = sbt.util.Difference
type EmptyChangeReport[T] = sbt.util.EmptyChangeReport[T]
val FileFunction = sbt.util.FileFunction
type FileInfo = sbt.util.FileInfo
val FileInfo = sbt.util.FileInfo
type FilesInfo[F <: FileInfo] = sbt.util.FilesInfo[F]
val FilesInfo = sbt.util.FilesInfo
type HashFileInfo = sbt.util.HashFileInfo
type HashModifiedFileInfo = sbt.util.HashModifiedFileInfo
val Level = sbt.util.Level
type Log = sbt.util.Log
type LogEvent = sbt.util.LogEvent
type Logger = sbt.util.Logger
val Logger = sbt.util.Logger
type ModifiedFileInfo = sbt.util.ModifiedFileInfo
type PlainFileInfo = sbt.util.PlainFileInfo
type SetLevel = sbt.util.SetLevel
type SetSuccess = sbt.util.SetSuccess
type SetTrace = sbt.util.SetTrace
type Show[T] = sbt.util.Show[T]
val Show = sbt.util.Show
type ShowLines[A] = sbt.util.ShowLines[A]
val ShowLines = sbt.util.ShowLines
type Success = sbt.util.Success
type Timestamp = sbt.util.Timestamp
type Trace = sbt.util.Trace
type Tracked = sbt.util.Tracked
val Tracked = sbt.util.Tracked
// sbt.internal.util
val AList = sbt.internal.util.AList
type AList[K[L[x]]] = sbt.internal.util.AList[K]
type AbstractRMap[K[_], V[_]] = sbt.internal.util.AbstractRMap[K, V]
type AlreadyHandledException = sbt.internal.util.AlreadyHandledException
val AttributeEntry = sbt.internal.util.AttributeEntry
type AttributeEntry[T] = sbt.internal.util.AttributeEntry[T]
val AttributeKey = sbt.internal.util.AttributeKey
type AttributeKey[T] = sbt.internal.util.AttributeKey[T]
val AttributeMap = sbt.internal.util.AttributeMap
type AttributeMap = sbt.internal.util.AttributeMap
val Attributed = sbt.internal.util.Attributed
type Attributed[D] = sbt.internal.util.Attributed[D]
type BasicLogger = sbt.internal.util.BasicLogger
type BufferedLogger = sbt.internal.util.BufferedLogger
val Classes = sbt.internal.util.Classes
val ConsoleLogger = sbt.internal.util.ConsoleLogger
type ConsoleLogger = sbt.internal.util.ConsoleLogger
val ConsoleOut = sbt.internal.util.ConsoleOut
type ConsoleOut = sbt.internal.util.ConsoleOut
val Dag = sbt.internal.util.Dag
type Dag[A <: Dag[A]] = sbt.internal.util.Dag[A]
type DelegatingPMap[K[_], V[_]] = sbt.internal.util.DelegatingPMap[K, V]
val ErrorHandling = sbt.internal.util.ErrorHandling
type EvaluateSettings[S] = sbt.internal.util.EvaluateSettings[S]
val EvaluationState = sbt.internal.util.EvaluationState
val ExitHook = sbt.internal.util.ExitHook
type ExitHook = sbt.internal.util.ExitHook
val ExitHooks = sbt.internal.util.ExitHooks
type FeedbackProvidedException = sbt.internal.util.FeedbackProvidedException
type FilePosition = sbt.internal.util.FilePosition
type FilterLogger = sbt.internal.util.FilterLogger
val FullLogger = sbt.internal.util.FullLogger
type FullLogger = sbt.internal.util.FullLogger
val FullReader = sbt.internal.util.FullReader
type FullReader = sbt.internal.util.FullReader
val HCons = sbt.internal.util.HCons
type HCons[H, T <: HList] = sbt.internal.util.HCons[H, T]
val HList = sbt.internal.util.HList
type HList = sbt.internal.util.HList
val HNil = sbt.internal.util.HNil
type HNil = sbt.internal.util.HNil
val IDSet = sbt.internal.util.IDSet
type IDSet[T] = sbt.internal.util.IDSet[T]
val IMap = sbt.internal.util.IMap
type IMap[K[_], V[_]] = sbt.internal.util.IMap[K, V]
type Init[S] = sbt.internal.util.Init[S]
type JLine = sbt.internal.util.JLine
val KCons = sbt.internal.util.KCons
type KCons[H, +T <: KList[M], +M[_]] = sbt.internal.util.KCons[H, T, M]
type KList[+M[_]] = sbt.internal.util.KList[M]
val KNil = sbt.internal.util.KNil
type KNil = sbt.internal.util.KNil
val LinePosition = sbt.internal.util.LinePosition
type LinePosition = sbt.internal.util.LinePosition
val LineRange = sbt.internal.util.LineRange
type LineRange = sbt.internal.util.LineRange
type LineReader = sbt.internal.util.LineReader
val LoggerWriter = sbt.internal.util.LoggerWriter
type LoggerWriter = sbt.internal.util.LoggerWriter
type MessageOnlyException = sbt.internal.util.MessageOnlyException
type MultiLogger = sbt.internal.util.MultiLogger
val NoPosition = sbt.internal.util.NoPosition
val PMap = sbt.internal.util.PMap
type PMap[K[_], V[_]] = sbt.internal.util.PMap[K, V]
type RMap[K[_], V[_]] = sbt.internal.util.RMap[K, V]
val RangePosition = sbt.internal.util.RangePosition
type RangePosition = sbt.internal.util.RangePosition
val Relation = sbt.internal.util.Relation
type Relation[A, B] = sbt.internal.util.Relation[A, B]
val ScalaKeywords = sbt.internal.util.ScalaKeywords
type Settings[S] = sbt.internal.util.Settings[S]
type SharedAttributeKey[T] = sbt.internal.util.SharedAttributeKey[T]
val Signals = sbt.internal.util.Signals
val SimpleReader = sbt.internal.util.SimpleReader
type SimpleReader = sbt.internal.util.SimpleReader
type SourcePosition = sbt.internal.util.SourcePosition
val StackTrace = sbt.internal.util.StackTrace
type SuppressedTraceContext = sbt.internal.util.SuppressedTraceContext
type TranslatedException = sbt.internal.util.TranslatedException
type TranslatedIOException = sbt.internal.util.TranslatedIOException
val TypeFunctions = sbt.internal.util.TypeFunctions
type TypeFunctions = sbt.internal.util.TypeFunctions
val Types = sbt.internal.util.Types
type Types = sbt.internal.util.Types
type UnprintableException = sbt.internal.util.UnprintableException
val Util = sbt.internal.util.Util
val ~> = sbt.internal.util.~>
type ~>[-K[_], +V[_]] = sbt.internal.util.~>[K, V]
// sbt.internal.util.complete
object complete {
val Completion = sbt.internal.util.complete.Completion
type Completion = sbt.internal.util.complete.Completion
val Completions = sbt.internal.util.complete.Completions
type Completions = sbt.internal.util.complete.Completions
val DefaultParsers = sbt.internal.util.complete.DefaultParsers
type DisplayOnly = sbt.internal.util.complete.DisplayOnly
val EditDistance = sbt.internal.util.complete.EditDistance
type ExampleSource = sbt.internal.util.complete.ExampleSource
val FileExamples = sbt.internal.util.complete.FileExamples
type FileExamples = sbt.internal.util.complete.FileExamples
val Finite = sbt.internal.util.complete.Finite
type Finite = sbt.internal.util.complete.Finite
val FixedSetExamples = sbt.internal.util.complete.FixedSetExamples
type FixedSetExamples = sbt.internal.util.complete.FixedSetExamples
val History = sbt.internal.util.complete.History
val HistoryCommands = sbt.internal.util.complete.HistoryCommands
val Infinite = sbt.internal.util.complete.Infinite
val JLineCompletion = sbt.internal.util.complete.JLineCompletion
val Parser = sbt.internal.util.complete.Parser
type Parser[+T] = sbt.internal.util.complete.Parser[T]
type ParserMain = sbt.internal.util.complete.ParserMain
val Parsers = sbt.internal.util.complete.Parsers
type Parsers = sbt.internal.util.complete.Parsers
val ProcessError = sbt.internal.util.complete.ProcessError
type Suggestion = sbt.internal.util.complete.Suggestion
type Token = sbt.internal.util.complete.Token
val TokenCompletions = sbt.internal.util.complete.TokenCompletions
type TokenCompletions = sbt.internal.util.complete.TokenCompletions
val TypeString = sbt.internal.util.complete.TypeString
type TypeString = sbt.internal.util.complete.TypeString
val UpperBound = sbt.internal.util.complete.UpperBound
type UpperBound = sbt.internal.util.complete.UpperBound
}
// sbt.librarymanagement
val Artifact = sbt.librarymanagement.Artifact
type Artifact = sbt.librarymanagement.Artifact
val Binary = sbt.librarymanagement.Binary
type Binary = sbt.librarymanagement.Binary
val Caller = sbt.librarymanagement.Caller
type Caller = sbt.librarymanagement.Caller
val ChainedResolver = sbt.librarymanagement.ChainedResolver
type ChainedResolver = sbt.librarymanagement.ChainedResolver
val CircularDependencyLevel = sbt.librarymanagement.ivy.CircularDependencyLevel
type CircularDependencyLevel = sbt.librarymanagement.ivy.CircularDependencyLevel
val ConfigRef = sbt.librarymanagement.ConfigRef
type ConfigRef = sbt.librarymanagement.ConfigRef
val Configuration = sbt.librarymanagement.Configuration
type Configuration = sbt.librarymanagement.Configuration
val ConfigurationReport = sbt.librarymanagement.ConfigurationReport
type ConfigurationReport = sbt.librarymanagement.ConfigurationReport
val Configurations = sbt.librarymanagement.Configurations
val ConflictManager = sbt.librarymanagement.ConflictManager
type ConflictManager = sbt.librarymanagement.ConflictManager
val ConflictWarning = sbt.librarymanagement.ConflictWarning
type ConflictWarning = sbt.librarymanagement.ConflictWarning
val Credentials = sbt.librarymanagement.ivy.Credentials
type Credentials = sbt.librarymanagement.ivy.Credentials
val CrossVersion = sbt.librarymanagement.CrossVersion
type CrossVersion = sbt.librarymanagement.CrossVersion
val DefaultMavenRepository = sbt.librarymanagement.Resolver.DefaultMavenRepository
val Developer = sbt.librarymanagement.Developer
type Developer = sbt.librarymanagement.Developer
val Disabled = sbt.librarymanagement.Disabled
type Disabled = sbt.librarymanagement.Disabled
type DirectCredentials = sbt.librarymanagement.ivy.DirectCredentials
val EvictionPair = sbt.librarymanagement.EvictionPair
type EvictionPair = sbt.librarymanagement.EvictionPair
val EvictionWarning = sbt.librarymanagement.EvictionWarning
type EvictionWarning = sbt.librarymanagement.EvictionWarning
val EvictionWarningOptions = sbt.librarymanagement.EvictionWarningOptions
type EvictionWarningOptions = sbt.librarymanagement.EvictionWarningOptions
// val ExclusionRule = sbt.librarymanagement.InclExclRule
// type ExclusionRule = sbt.librarymanagement.InclExclRule
type FileCredentials = sbt.librarymanagement.ivy.FileCredentials
val FileRepository = sbt.librarymanagement.FileRepository
type FileRepository = sbt.librarymanagement.FileRepository
val Full = sbt.librarymanagement.Full
type Full = sbt.librarymanagement.Full
val InlineConfiguration = sbt.librarymanagement.ModuleDescriptorConfiguration
type InlineConfiguration = sbt.librarymanagement.ModuleDescriptorConfiguration
val IvyScala = sbt.librarymanagement.ScalaModuleInfo
type IvyScala = sbt.librarymanagement.ScalaModuleInfo
val JCenterRepository = sbt.librarymanagement.Resolver.JCenterRepository
val JavaNet2Repository = sbt.librarymanagement.Resolver.JavaNet2Repository
val License = sbt.librarymanagement.License
type LogicalClock = sbt.librarymanagement.LogicalClock
val LogicalClock = sbt.librarymanagement.LogicalClock
type MakePomConfiguration = sbt.librarymanagement.MakePomConfiguration
val MakePomConfiguration = sbt.librarymanagement.MakePomConfiguration
val MavenCache = sbt.librarymanagement.MavenCache
type MavenCache = sbt.librarymanagement.MavenCache
val MavenRepo = sbt.librarymanagement.MavenRepo
type MavenRepo = sbt.librarymanagement.MavenRepo
val MavenRepository = sbt.librarymanagement.MavenRepository
type MavenRepository = sbt.librarymanagement.MavenRepository
val ModuleConfiguration = sbt.librarymanagement.ModuleConfiguration
type ModuleConfiguration = sbt.librarymanagement.ModuleConfiguration
val ModuleDescriptorConfiguration = sbt.librarymanagement.ModuleDescriptorConfiguration
type ModuleDescriptorConfiguration = sbt.librarymanagement.ModuleDescriptorConfiguration
val ModuleID = sbt.librarymanagement.ModuleID
type ModuleID = sbt.librarymanagement.ModuleID
val ModuleInfo = sbt.librarymanagement.ModuleInfo
type ModuleInfo = sbt.librarymanagement.ModuleInfo
val ModuleReport = sbt.librarymanagement.ModuleReport
type ModuleReport = sbt.librarymanagement.ModuleReport
val ModuleSettings = sbt.librarymanagement.ModuleSettings
type ModuleSettings = sbt.librarymanagement.ModuleSettings
val OrganizationArtifactReport = sbt.librarymanagement.OrganizationArtifactReport
type OrganizationArtifactReport = sbt.librarymanagement.OrganizationArtifactReport
val Patterns = sbt.librarymanagement.Patterns
type Patterns = sbt.librarymanagement.Patterns
type PatternsBasedRepository = sbt.librarymanagement.PatternsBasedRepository
val PublishConfiguration = sbt.librarymanagement.PublishConfiguration
type PublishConfiguration = sbt.librarymanagement.PublishConfiguration
type RawRepository = sbt.librarymanagement.RawRepository
val Resolver = sbt.librarymanagement.Resolver
type Resolver = sbt.librarymanagement.Resolver
val SbtArtifacts = sbt.librarymanagement.SbtArtifacts
val ScalaArtifacts = sbt.librarymanagement.ScalaArtifacts
val ScalaVersion = sbt.librarymanagement.ScalaVersion
type ScalaVersion = sbt.librarymanagement.ScalaVersion
val ScmInfo = sbt.librarymanagement.ScmInfo
type ScmInfo = sbt.librarymanagement.ScmInfo
val SemanticSelector = sbt.librarymanagement.SemanticSelector
type SemanticSelector = sbt.librarymanagement.SemanticSelector
val SftpRepository = sbt.librarymanagement.SftpRepository
type SftpRepository = sbt.librarymanagement.SftpRepository
type SshBasedRepository = sbt.librarymanagement.SshBasedRepository
val SshRepository = sbt.librarymanagement.SshRepository
type SshRepository = sbt.librarymanagement.SshRepository
type TrackLevel = sbt.librarymanagement.TrackLevel
val TrackLevel = sbt.librarymanagement.TrackLevel
val URLRepository = sbt.librarymanagement.URLRepository
type URLRepository = sbt.librarymanagement.URLRepository
val UpdateLogging = sbt.librarymanagement.UpdateLogging
val UpdateOptions = sbt.librarymanagement.ivy.UpdateOptions
type UpdateOptions = sbt.librarymanagement.ivy.UpdateOptions
val UpdateReport = sbt.librarymanagement.UpdateReport
type UpdateReport = sbt.librarymanagement.UpdateReport
val UpdateStats = sbt.librarymanagement.UpdateStats
type UpdateStats = sbt.librarymanagement.UpdateStats
val VersionNumber = sbt.librarymanagement.VersionNumber
type VersionNumber = sbt.librarymanagement.VersionNumber
type VersionNumberCompatibility = sbt.librarymanagement.VersionNumberCompatibility
// sbt.librarymanagement.ivy
val InlineIvyConfiguration = sbt.librarymanagement.ivy.InlineIvyConfiguration
type InlineIvyConfiguration = sbt.librarymanagement.ivy.InlineIvyConfiguration
type IvyPaths = sbt.librarymanagement.ivy.IvyPaths
val IvyPaths = sbt.librarymanagement.ivy.IvyPaths
type IncOptions = xsbti.compile.IncOptions
}