diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-12 18:26:57 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-12 18:26:57 -0800 |
commit | 05a501369c8483f9743e5cecf5e5ba0949d47ddc (patch) | |
tree | f1d13cbe686d6cada6a8e0645774f429e024b760 /scalaplugin | |
parent | 654e215032d78ff53750f17b32ece30185bf0f48 (diff) | |
download | mill-05a501369c8483f9743e5cecf5e5ba0949d47ddc.tar.gz mill-05a501369c8483f9743e5cecf5e5ba0949d47ddc.tar.bz2 mill-05a501369c8483f9743e5cecf5e5ba0949d47ddc.zip |
Rename `Subproject` to `Module`
Diffstat (limited to 'scalaplugin')
-rw-r--r-- | scalaplugin/src/main/scala/mill/scalaplugin/Module.scala (renamed from scalaplugin/src/main/scala/mill/scalaplugin/Subproject.scala) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scalaplugin/src/main/scala/mill/scalaplugin/Subproject.scala b/scalaplugin/src/main/scala/mill/scalaplugin/Module.scala index 4b843cfb..1a7cbdbe 100644 --- a/scalaplugin/src/main/scala/mill/scalaplugin/Subproject.scala +++ b/scalaplugin/src/main/scala/mill/scalaplugin/Module.scala @@ -21,7 +21,7 @@ import xsbti.compile.DependencyChanges -object Subproject{ +object Module{ def compileScala(scalaVersion: String, sources: PathRef, @@ -117,9 +117,9 @@ object Subproject{ Dep.Java("org.scala-lang", "scala-library", scalaVersion) ) } -import Subproject._ +import Module._ -trait Subproject extends Cacher{ +trait Module extends Cacher{ def scalaVersion: T[String] def scalaBinaryVersion = T{ scalaVersion().split('.').dropRight(1).mkString(".") } @@ -133,7 +133,7 @@ trait Subproject extends Cacher{ MavenRepository("https://repo1.maven.org/maven2") ) - def projectDeps = Seq.empty[Subproject] + def projectDeps = Seq.empty[Module] def depClasspath = T{ Seq.empty[PathRef] } |