mill.main.sbt

package mill.main.sbt

Members list

Type members

Classlikes

case class AllDependencies(projectDependencies: Seq[InterProjectDependency], libraryDependencies: Seq[LibraryDependency])

Attributes

Companion
object
Source
Models.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
Models.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class BuildExport(defaultBuildInfo: BuildInfo, projects: Seq[Project])

Attributes

Companion
object
Source
Models.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object BuildExport

Attributes

Companion
class
Source
Models.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class BuildInfo(buildPublicationInfo: BuildPublicationInfo, javacOptions: Option[Seq[String]], scalaVersion: Option[String], scalacOptions: Option[Seq[String]], resolvers: Option[Seq[Resolver]])

Attributes

Companion
object
Source
Models.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object BuildInfo

Attributes

Companion
class
Source
Models.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
BuildInfo.type
case class BuildPublicationInfo(description: Option[String], homepage: Option[Option[String]], licenses: Option[Seq[License]], organization: Option[String], developers: Option[Seq[Developer]], scmInfo: Option[Option[ScmInfo]], version: Option[String])

Members ordered by their order in Keys.

Members ordered by their order in Keys.

Attributes

Companion
object
Source
Models.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
Models.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait CrossVersion

Attributes

See also

sbt.librarymanagement.CrossVersion

Companion
object
Source
Models.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Binary
class Constant
object Disabled
object Full
object CrossVersion

Attributes

Companion
trait
Source
Models.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait Dependency

Attributes

Source
Models.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class Developer(id: String, name: String, email: String, url: URL)

Attributes

See also

sbt.librarymanagement.Developer

Companion
object
Source
Models.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Developer

Attributes

Companion
class
Source
Models.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Developer.type
case class InterProjectDependency(projectRefProject: String, configurations: Option[String]) extends Dependency

Attributes

Companion
object
Source
Models.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
trait Dependency
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
Models.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class LibraryDependency(organization: String, name: String, crossVersion: CrossVersion, revision: String, configurations: Option[String], tpe: Option[String], classifier: Option[String], excludes: Seq[(String, String)]) extends Dependency

Attributes

See also

sbt.librarymanagement.ModuleID

Companion
object
Source
Models.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
trait Dependency
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
Models.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object Models

Attributes

Source
Models.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Models.type
case class Project(name: String, projectDirectory: String, projectRefProject: String, buildInfo: BuildInfo, allDependencies: AllDependencies)

Attributes

Companion
object
Source
Models.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Project

Attributes

Companion
class
Source
Models.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Project.type
case class Resolver(root: String)

Only Maven repositories are supported now.

Only Maven repositories are supported now.

Attributes

See also

sbt.librarymanagement.Resolver

Companion
object
Source
Models.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Resolver

Attributes

Companion
class
Source
Models.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Resolver.type
object SbtBuildGenMain extends BuildGenBase[Project, String, (BuildInfo, Tree[Node[Option[Project]]])]

Converts an sbt build to Mill by generating Mill build file(s). The implementation uses the sbt addPluginSbtFile command to add a plugin and a task to extract the settings for a project using a custom model.

Converts an sbt build to Mill by generating Mill build file(s). The implementation uses the sbt addPluginSbtFile command to add a plugin and a task to extract the settings for a project using a custom model.

The generated output should be considered scaffolding and will likely require edits to complete conversion.

===Capabilities=== The conversion

  • handles deeply nested modules
  • captures publish settings
  • configures dependencies for configurations:
    • no configuration
    • Compile
    • Test
    • Runtime
    • Provided
    • Optional
  • configures testing frameworks (@see mill.scalalib.TestModule):
    • Java:
      • JUnit 4
      • JUnit 5
      • TestNG
    • Scala:
      • ScalaTest
      • Specs2
      • µTest
      • MUnit
      • Weaver
      • ZIOTest
      • ScalaCheck ===Limitations=== The conversion does not support:
  • custom dependency configurations
  • custom settings including custom tasks
  • sources other than Scala on JVM and Java, such as Scala.js and Scala Native
  • cross builds

Attributes

Source
SbtBuildGenMain.scala
Supertypes
trait BuildGenBase[Project, String, (BuildInfo, Tree[Node[Option[Project]]])]
class Object
trait Matchable
class Any
Self type
case class ScmInfo(browseUrl: URL, connection: String, devConnection: Option[String])

Attributes

See also

sbt.librarymanagement.ScmInfo

Companion
object
Source
Models.scala
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ScmInfo

Attributes

Companion
class
Source
Models.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ScmInfo.type
object Versions

Attributes

Source
Versions.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Versions.type