@@ -2,35 +2,34 @@ import com.typesafe.tools.mima.core.ReversedMissingMethodProblem
22import com .typesafe .tools .mima .core .ProblemFilters
33Global / onChangedBuildSource := ReloadOnSourceChanges
44
5- ThisBuild / baseVersion := " 0.3.0"
5+ ThisBuild / tlBaseVersion := " 0.7"
6+ ThisBuild / tlCiReleaseBranches := Seq ()
67ThisBuild / organization := " org.systemfw"
7- ThisBuild / publishGithubUser := " SystemFw"
8- ThisBuild / publishFullName := " Fabio Labella"
9- ThisBuild / homepage := Some (url(" https://github.com/SystemFw/dynosaur" ))
10- ThisBuild / scmInfo := Some (
11- ScmInfo (
12- url(" https://github.com/SystemFw/dynosaur" ),
13- " [email protected] :SystemFw/dynosaur.git" 14- )
8+ ThisBuild / organizationName := " Fabio Labella"
9+ ThisBuild / developers ++= List (
10+ tlGitHubDev(" SystemFw" , " Fabio Labella" )
1511)
1612ThisBuild / startYear := Some (2020 )
17- Global / excludeLintKeys += scmInfo
13+
1814
1915val Scala213 = " 2.13.10"
2016val scala3 = " 3.3.1"
21- ThisBuild / spiewakMainBranches := Seq ( " main " )
17+
2218
2319ThisBuild / crossScalaVersions := Seq (Scala213 , scala3, " 2.12.14" )
24- ThisBuild / versionIntroduced := Map (" 3.0.0" -> " 0.3.0" )
20+ ThisBuild / tlVersionIntroduced := Map (" 3.0.0" -> " 0.3.0" )
2521ThisBuild / scalaVersion := (ThisBuild / crossScalaVersions).value.head
2622ThisBuild / initialCommands := """
2723 |import cats._, data._, syntax.all._
2824 |import dynosaur._
2925""" .stripMargin
3026
31- lazy val root = project
32- .in(file(" ." ))
33- .enablePlugins(NoPublishPlugin , SonatypeCiReleasePlugin )
27+ // If debugging tests, it's sometimes useful to disable parallel
28+ // execution and test result buffering:
29+ // ThisBuild / Test / parallelExecution := false
30+ // ThisBuild / Test / testOptions += Tests.Argument(TestFrameworks.MUnit, "-b")
31+
32+ lazy val root = tlCrossRootProject
3433 .aggregate(core.js, core.jvm, benchmark)
3534
3635lazy val core = crossProject(JSPlatform , JVMPlatform )
@@ -70,13 +69,11 @@ lazy val core = crossProject(JSPlatform, JVMPlatform)
7069 )
7170 )
7271
73- lazy val coreJS = core.js
74- lazy val coreJVM = core.jvm
7572
7673lazy val benchmark = project
7774 .in(file(" modules/benchmark" ))
7875 .dependsOn(core.jvm)
79- .enablePlugins(JmhPlugin )
76+ .enablePlugins(JmhPlugin , NoPublishPlugin )
8077 .disablePlugins(MimaPlugin )
8178
8279lazy val jsdocs = project
@@ -100,7 +97,7 @@ lazy val docs = project
10097 .mkString(" \n " )
10198 ),
10299 githubWorkflowArtifactUpload := false ,
103- fatalWarningsInCI := false
100+ tlFatalWarnings := false
104101 )
105102 .dependsOn(core.jvm)
106103 .enablePlugins(MdocPlugin , NoPublishPlugin )
@@ -125,7 +122,7 @@ ThisBuild / githubWorkflowAddedJobs += WorkflowJob(
125122 """ .stripMargin.trim.linesIterator.mkString.some,
126123 steps = githubWorkflowGeneratedDownloadSteps.value.toList :+
127124 WorkflowStep .Use (
128- UseRef .Public (" peaceiris" , " actions-gh-pages" , " v3 " ),
125+ UseRef .Public (" peaceiris" , " actions-gh-pages" , " v4 " ),
129126 name = Some (s " Deploy docs " ),
130127 params = Map (
131128 " publish_dir" -> " ./target/website" ,
0 commit comments