-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop down to sbt-typelevel-ci-release
- Loading branch information
1 parent
9f0afbb
commit e83140a
Showing
3 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,14 @@ import com.typesafe.tools.mima.core.{ProblemFilters, ReversedMissingMethodProble | |
|
||
val scala3Version = "3.1.0" | ||
|
||
ThisBuild / organization := "org.typelevel" | ||
ThisBuild / tlBaseVersion := "3.0" | ||
ThisBuild / scalaVersion := scala3Version | ||
ThisBuild / crossScalaVersions := Seq(scala3Version) | ||
ThisBuild / updateOptions := updateOptions.value.withLatestSnapshots(false) | ||
|
||
// GHA configuration | ||
ThisBuild / tlCiReleaseBranches := Seq("main") | ||
ThisBuild / githubWorkflowBuildMatrixFailFast := Some(false) | ||
|
||
val nativeSettings = Def.settings( | ||
|
@@ -127,15 +130,16 @@ lazy val local = crossProject(JSPlatform, JVMPlatform, NativePlatform) | |
// Settings | ||
|
||
lazy val commonSettings = Seq( | ||
tlFatalWarnings := true, | ||
scalacOptions ++= Seq( | ||
"-Xfatal-warnings", | ||
"-Yexplicit-nulls" | ||
), | ||
Compile / doc / sources := Nil, | ||
|
||
libraryDependencies += "com.github.sbt" % "junit-interface" % "0.13.3" % "test", | ||
) | ||
|
||
ThisBuild / licenses := Seq("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")) | ||
ThisBuild / developers := List( | ||
Developer("milessabin", "Miles Sabin", "[email protected]", url("http://milessabin.com/blog")), | ||
Developer("joroKr21", "Georgi Krastev", "[email protected]", url("https://twitter.com/Joro_Kr")), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.4.0") | ||
addSbtPlugin("org.typelevel" % "sbt-typelevel-ci-release" % "0.4.0") | ||
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.8.0") | ||
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.3-RC2") | ||
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.1.0") | ||
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.1.0") |