@@ -19,7 +19,7 @@ addCommandAlias(
1919 " +versionPolicyCheck" ,
2020 " +githubWorkflowCheck" ,
2121 " mdocCheck" ,
22- " +evictionCheck " ,
22+ " evicted " ,
2323 " +undeclaredCompileDependenciesTest" ,
2424 " +unusedCompileDependenciesTest" ,
2525 " +dependencyCheckAggregate" ,
@@ -43,6 +43,8 @@ inThisBuild(
4343 crossScalaVersions := supportedScalaVersions,
4444 dependencyCheckAssemblyAnalyzerEnabled := Some (false ),
4545 description := " Scala2PlantUML generates PlantUML diagrams from Scala code." ,
46+ // TODO: Add this when sbt 1.5.0 is released.
47+ // evictionErrorLevel := Level.Error,
4648 homepage := Some (url(" https://github.com/BotTech/scala2plantuml" )),
4749 licenses := List (" MIT" -> url(" https://github.com/BotTech/scala2plantuml/blob/main/LICENSE" )),
4850 organization := " nz.co.bottech" ,
@@ -53,7 +55,7 @@ inThisBuild(
5355 WorkflowStep .Sbt (List (" mdocCheck" ), name = Some (" Check documentation has been generated" )),
5456 WorkflowStep .Sbt (
5557 List (
56- " evictionCheck " ,
58+ " evicted " ,
5759 " undeclaredCompileDependenciesTest" ,
5860 " unusedCompileDependenciesTest" ,
5961 " dependencyCheckAggregate"
@@ -76,7 +78,7 @@ inThisBuild(
7678 githubWorkflowPublishTargetBranches := List (RefPredicate .StartsWith (Ref .Tag (" v" ))),
7779 githubWorkflowTargetTags ++= Seq (" v*" ),
7880 versionPolicyIntention := Compatibility .BinaryAndSourceCompatible ,
79- versionScheme := Some (" semver-spec " )
81+ versionScheme := Some (" early-semver " )
8082 )
8183)
8284
@@ -116,9 +118,6 @@ lazy val root = (project in file("."))
116118lazy val core = project
117119 .settings(libraryProjectSettings)
118120 .settings(
119- name := s " ${(LocalRootProject / name).value}" ,
120- semanticdbEnabled := true ,
121- semanticdbVersion := " 4.4.10" ,
122121 libraryDependencies ++= collectionsCompatibilityDependency.value,
123122 libraryDependencies ++= List (
124123 " org.scalameta" %% " scalameta" % semanticdbVersion.value,
@@ -128,6 +127,9 @@ lazy val core = project
128127 " ch.qos.logback" % " logback-core" % logbackVersion % Test ,
129128 " com.lihaoyi" %% " utest" % utestVersion % Test
130129 ),
130+ name := s " ${(LocalRootProject / name).value}" ,
131+ semanticdbEnabled := true ,
132+ semanticdbVersion := " 4.4.10" ,
131133 testFrameworks += new TestFramework (" utest.runner.Framework" ),
132134 Test / managedSourceDirectories += (Test / semanticdbTargetRoot).value,
133135 Test / fullClasspath += (Test / semanticdbTargetRoot).value
0 commit comments