Skip to content

Releases: alejandrohdezma/sbt-modules

v0.6.0

Choose a tag to compare

@alejandrohdezma alejandrohdezma released this 27 Jun 20:10
4c54f85

What's Changed

🚀 New features

Full Changelog: v0.5.0...v0.6.0

v0.5.0

Choose a tag to compare

@alejandrohdezma alejandrohdezma released this 27 May 17:07
5f6bf4c

What's Changed

🚀 New features

Full Changelog: v0.4.1...v0.5.0

v0.4.1

Choose a tag to compare

@alejandrohdezma alejandrohdezma released this 05 Apr 18:02
00cb3c9

What's Changed

🐛 Bug fixes

Full Changelog: v0.4.0...v0.4.1

v0.4.0

Choose a tag to compare

@alejandrohdezma alejandrohdezma released this 11 Mar 07:11
0fa85d5

What's Changed

🚀 New features

Full Changelog: v0.3.2...v0.4.0

v0.3.2

Choose a tag to compare

@alejandrohdezma alejandrohdezma released this 10 Aug 10:52
2935ba0

📈 Dependency updates

Full Changelog: v0.3.1...v0.3.2

v0.3.1

Choose a tag to compare

@alejandrohdezma alejandrohdezma released this 30 Mar 08:43
9cf7f05

What's Changed

🚀 New features

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@alejandrohdezma alejandrohdezma released this 29 Jan 11:07
7379ca0

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

Choose a tag to compare

@release-drafter release-drafter released this 08 Apr 16:45
f0ed198

What's changed

Ensure no warnings are thrown when using it in SBT 1.5.0.

📈 Dependency updates

Contributors to this release

@alejandrohdezma

v0.1.0

Choose a tag to compare

@alejandrohdezma alejandrohdezma released this 04 Jun 18:37
10fd284

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