Skip to content

Commit

Permalink
Revert "Enable sbt-modules in the build"
Browse files Browse the repository at this point in the history
This reverts commit 8cc5b94.
  • Loading branch information
alejandrohdezma committed Jan 15, 2024
1 parent 594ff07 commit c22d440
Show file tree
Hide file tree
Showing 160 changed files with 10 additions and 4 deletions.
9 changes: 8 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ inThisBuild(List(
libraryDependencySchemes += "com.typesafe" %% "mima-core" % "semver-spec"
))

lazy val `sbt-version-policy` = module
lazy val root = (project in file("."))
.aggregate(`sbt-version-policy`)
.settings(
name := "sbt-version-policy root",
publish / skip := true,
)

lazy val `sbt-version-policy` = project
.enablePlugins(SbtPlugin)
.settings(
scriptedLaunchOpts += "-Dplugin.version=" + version.value,
Expand Down
2 changes: 1 addition & 1 deletion project/dependencies.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// For using the plugins in their own build
Compile / unmanagedSourceDirectories ++= Seq(
(ThisBuild / baseDirectory).value.getParentFile / "modules" / "sbt-version-policy" / "src" / "main" / "scala",
(ThisBuild / baseDirectory).value.getParentFile / "sbt-version-policy" / "src" / "main" / "scala",
)

addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.3")
Expand Down
3 changes: 1 addition & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.2.0")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")

0 comments on commit c22d440

Please sign in to comment.