mirror of https://github.com/sbt/sbt.git
minor cleanup of some Ivy-related code
This commit is contained in:
parent
568887b9e8
commit
42d4323d2b
|
|
@ -92,7 +92,7 @@ final class IvySbt(configuration: IvyConfiguration)
|
||||||
def withModule[T](f: (Ivy,DefaultModuleDescriptor,String) => T): T =
|
def withModule[T](f: (Ivy,DefaultModuleDescriptor,String) => T): T =
|
||||||
withIvy[T] { ivy => f(ivy, moduleDescriptor, defaultConfig) }
|
withIvy[T] { ivy => f(ivy, moduleDescriptor, defaultConfig) }
|
||||||
|
|
||||||
private lazy val (moduleDescriptor: DefaultModuleDescriptor, defaultConfig: String) =
|
lazy val (moduleDescriptor: DefaultModuleDescriptor, defaultConfig: String) =
|
||||||
{
|
{
|
||||||
val (baseModule, baseConfiguration) =
|
val (baseModule, baseConfiguration) =
|
||||||
moduleSettings match
|
moduleSettings match
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ object ScalaArtifacts
|
||||||
|
|
||||||
import ScalaArtifacts._
|
import ScalaArtifacts._
|
||||||
|
|
||||||
final class IvyScala(val scalaVersion: String, val configurations: Iterable[Configuration], val checkExplicit: Boolean, val filterImplicit: Boolean) extends NotNull
|
final class IvyScala(val scalaVersion: String, val configurations: Iterable[Configuration], val checkExplicit: Boolean, val filterImplicit: Boolean)
|
||||||
private object IvyScala
|
private object IvyScala
|
||||||
{
|
{
|
||||||
/** Performs checks/adds filters on Scala dependencies (if enabled in IvyScala). */
|
/** Performs checks/adds filters on Scala dependencies (if enabled in IvyScala). */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue