Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to tasty-mima 1.3.0. #30

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Must stay in sync with TastyMiMaPlugin.TastyMiMaVersion
val TastyMiMaVersion = "1.2.0"
val TastyMiMaVersion = "1.3.0"

inThisBuild(Def.settings(
crossScalaVersions := Seq("2.12.17"),
Expand Down Expand Up @@ -28,7 +28,7 @@ inThisBuild(Def.settings(
Developer("bishabosha", "Jamie Thompson", "bishbashboshjt@gmail.com", url("https://github.com/bishabosha")),
),

versionPolicyIntention := Compatibility.BinaryAndSourceCompatible,
versionPolicyIntention := Compatibility.BinaryCompatible,
// Ignore dependencies to internal modules whose version is like `1.2.3+4...` (see https://github.com/scalacenter/sbt-version-policy#how-to-integrate-with-sbt-dynver)
versionPolicyIgnoredInternalDependencyVersions := Some("^\\d+\\.\\d+\\.\\d+\\+\\d+".r),
))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import sbt.plugins.JvmPlugin

object TastyMiMaPlugin extends AutoPlugin {
// Must stay in sync with TastyMiMaVersion in build.sbt
private val TastyMiMaVersion = "1.2.0"
private val TastyMiMaVersion = "1.3.0"

object autoImport {
val tastyMiMaPreviousArtifacts: SettingKey[Set[ModuleID]] =
Expand Down
2 changes: 1 addition & 1 deletion sbt-tasty-mima/src/sbt-test/tastymima/basicok/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import tastymima.intf._

scalaVersion := "3.4.0"
scalaVersion := "3.5.0"
name := "test-project"

tastyMiMaPreviousArtifacts := Set(organization.value %% name.value % "0.0.1-SNAPSHOT")
Expand Down
4 changes: 2 additions & 2 deletions sbt-tasty-mima/src/sbt-test/tastymima/crossversion/build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import tastymima.intf._

crossScalaVersions := Seq("3.4.0", "3.3.0", "3.2.2", "2.13.10", "2.12.17")
scalaVersion := "3.4.0"
crossScalaVersions := Seq("3.5.0", "3.4.0", "3.3.0", "3.2.2", "2.13.10", "2.12.17")
scalaVersion := "3.5.0"
name := "test-project"

tastyMiMaPreviousArtifacts := Set(organization.value %% name.value % "0.0.1-SNAPSHOT")
Expand Down
4 changes: 4 additions & 0 deletions sbt-tasty-mima/src/sbt-test/tastymima/crossversion/test
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
> set version := "0.0.2-SNAPSHOT"

# filters are set in the build file, so tasty-mima check should pass
> ++3.5.0
> tastyMiMaReportIssues
> ++3.4.0
> tastyMiMaReportIssues
> ++3.3.0
Expand All @@ -21,6 +23,8 @@

# remove all filters so tasty-mima check fails
> set tastyMiMaConfig ~= { _.withReplacedProblemFilters(java.util.Arrays.asList()) }
> ++3.5.0
-> tastyMiMaReportIssues
> ++3.4.0
-> tastyMiMaReportIssues
> ++3.3.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import tastymima.intf._

scalaVersion := "3.4.0"
scalaVersion := "3.5.0"
name := "test-project"

tastyMiMaVersionOverride := Some("1.1.0")
tastyMiMaTastyQueryVersionOverride := Some("1.3.0")
tastyMiMaTastyQueryVersionOverride := Some("1.4.0")

tastyMiMaPreviousArtifacts := Set(organization.value %% name.value % "0.0.1-SNAPSHOT")

Expand Down
Loading