Releases: alejandrohdezma/sbt-modules
Releases · alejandrohdezma/sbt-modules
v0.3.2
📈 Dependency updates
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
🚀 New features
- Add setting to use
scala-2.13+
folder as sources for both 2.13 & 3 by @alejandrohdezma in #206
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
🚀 New features
- Add utility extension method to simplify adding settings for specific scala versions by @alejandrohdezma in #204
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's changed
Ensure no warnings are thrown when using it in SBT 1.5.0
.
📈 Dependency updates
- Update sbt to 1.5.0 (#74)
- Update sbt-mdoc to 2.2.19 (#73)
- Update sbt-scalafix to 0.9.27 (#72)
- Update sbt-ci-release to 1.5.7 (#71)
- Update sbt-ci to 1.7.4 (#70)
- Update sbt-ci to 1.7.3 (#69)
- Update sbt-ci to 1.7.2 (#68)
- Update sbt-ci to 1.7.1 (#67)
- Update sbt-tpolecat to 0.1.17 (#66)
- Update sbt-ci to 1.6.0 (#65) @alejandrohdezma
- Update sbt-ci to 1.5.0 (#63) @alejandrohdezma
- Update sbt-github-header, sbt-github-mdoc to 0.9.2 (#64) @alejandrohdezma
- Update sbt-ci-release to 1.5.6 (#62) @alejandrohdezma
- Update sbt to 1.4.9 (#61) @alejandrohdezma
- Update sbt to 1.4.8 (#60) @alejandrohdezma
- Update sbt-github-header, sbt-github-mdoc to 0.9.1 (#59) @alejandrohdezma
- Update sbt-ci to 1.4.1 (#57) @alejandrohdezma
- Update sbt-scalafmt-defaults to 0.4.1 (#58) @alejandrohdezma
- Update sbt-scalafix to 0.9.26 (#56) @alejandrohdezma
- Update mdoc_2.12.12, sbt-mdoc to 2.2.18 (#55) @alejandrohdezma
- Update sbt-ci to 1.4.0 (#54) @alejandrohdezma
- Update mdoc_2.12.12, sbt-mdoc to 2.2.17 (#53) @alejandrohdezma
- Update sbt to 1.4.7 (#52) @alejandrohdezma
- Update mdoc, sbt-mdoc to 2.2.16 (#51) @alejandrohdezma
- Update sbt-scalafix to 0.9.25 (#50) @alejandrohdezma
- Update sbt to 1.4.6 (#49) @alejandrohdezma
- Update mdoc, sbt-mdoc to 2.2.14 (#48) @alejandrohdezma
- Update sbt to 1.4.5 (#47) @alejandrohdezma
- Update sbt-github-header, sbt-github-mdoc to 0.9.0 (#46) @alejandrohdezma
- Update sbt-ci to 1.3.1 (#45) @alejandrohdezma
- Update sbt-tpolecat to 0.1.16 (#44) @alejandrohdezma
- Update sbt-ci-release to 1.5.5 (#43) @alejandrohdezma
- Update sbt-ci to 1.2.0 (#42) @alejandrohdezma
- Update sbt-ci to 1.1.4 (#41) @alejandrohdezma
- Update sbt-tpolecat to 0.1.15 (#37) @alejandrohdezma
- Update sbt-scalafix to 0.9.24 (#34) @alejandrohdezma
- Update sbt-ci-release to 1.5.4 (#36) @alejandrohdezma
- Update sbt to 1.4.4 (#38) @alejandrohdezma
- Update mdoc, sbt-mdoc to 2.2.13 (#39) @alejandrohdezma
- Update sbt-ci to 1.1.3 (#40) @alejandrohdezma
- Update sbt to 1.4.2 (#33) @alejandrohdezma
- Update sbt to 1.4.1 (#32) @alejandrohdezma
- Update sbt-mdoc to 2.2.10 (#31) @alejandrohdezma
- Update sbt-tpolecat to 0.1.14 (#30) @alejandrohdezma
- Update sbt to 1.4.0 (#29) @alejandrohdezma
- Update sbt-scalafmt-defaults to 0.4.0 (#28) @alejandrohdezma
- Update sbt-scalafix to 0.9.21 (#27) @alejandrohdezma
- Update sbt-scalafix-defaults to 0.4.0 (#25) @alejandrohdezma
- Update sbt-mdoc to 2.2.9 (#26) @alejandrohdezma
- Update sbt-scalafix-defaults to 0.3.2 (#24) @alejandrohdezma
- Update sbt-mdoc to 2.2.8 (#23) @alejandrohdezma
- Update sbt-mdoc to 2.2.7 (#22) @alejandrohdezma
- Update sbt-scalafix-defaults, ... to 0.3.1 (#21) @alejandrohdezma
- Update sbt-scalafix to 0.9.20 (#19) @alejandrohdezma
- Update sbt-mdoc to 2.2.6 (#20) @alejandrohdezma
- Update sbt-mdoc to 2.2.5 (#18) @alejandrohdezma
- Update sbt-mdoc to 2.2.4 (#17) @alejandrohdezma
- Update sbt-fix to 0.7.0 (#13) @alejandrohdezma
- Update sbt-scalafix-defaults to 0.3.0 (#16) @alejandrohdezma
- Update sbt-scalafmt-defaults to 0.3.0 (#14) @alejandrohdezma
- Update sbt-scalafmt to 2.4.2 (#15) @alejandrohdezma
- Update sbt-fix to 0.6.1 (#12) @alejandrohdezma
- Update sbt-fix to 0.6.0 (#11) @alejandrohdezma
- Update sbt-scalafix to 0.9.19 (#10) @alejandrohdezma
- Update sbt-scalafix to 0.9.18 (#9) @alejandrohdezma
- Update sbt to 1.3.13 (#8) @alejandrohdezma
- Update sbt-tpolecat to 0.1.13 (#7) @alejandrohdezma
- Update sbt-mdoc to 2.2.3 (#6) @alejandrohdezma
- Update sbt-mdoc to 2.2.2 (#5) @alejandrohdezma
- Update sbt-scalafix to 0.9.17 (#4) @alejandrohdezma
- Update sbt-tpolecat to 0.1.12 (#3) @alejandrohdezma
Contributors to this release
v0.1.0
First release of the plugin
Installation
Add the following line to your plugins.sbt
file:
addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.1.0")
Usage
Use module
instead of project
to create your SBT modules. Unlike project
, module
expects your modules to live in modules
folder and uses the name of the variable for the project's ID and base folder (just like project
does).
- skip in publish := true
-
lazy val docs = project
- .settings(skip in publish := true)
- .dependsOn(allProjects: _*)
+ .dependsOn(allModules: _*)
.in(file("docs"))
+ lazy val `my-library-core` = module
- lazy val core = project
- .in(file("modules/core"))
- .settings(name := "my-library-core")
+ lazy val `my-library-plugin` = module
- lazy val plugin = project
- .in(file("modules/plugin"))
- .settings(name := "my-library-plugin")
- .dependsOn(core)
+ .dependsOn(`my-library-core`)
-
- lazy val allProjects: Seq[ClasspathDep[ProjectReference]] = Seq(
- core,
- plugin
- )
For more information, visit the README