-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #184 from julienrf/find-incompatibilities
Introduce task versionPolicyAssessCompatibility
- Loading branch information
Showing
25 changed files
with
566 additions
and
316 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
15 changes: 15 additions & 0 deletions
15
sbt-version-policy/src/main/scala/com/typesafe/tools/mima/MimaInternals.scala
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.typesafe.tools.mima | ||
|
||
import com.typesafe.tools.mima.core.{Problem, ProblemFilter, ProblemReporting} | ||
|
||
// Access the internals of Mima and use them internally. NOT INTENDED for users. | ||
// See https://github.com/lightbend/mima/pull/793 | ||
object MimaInternals { | ||
def isProblemReported( | ||
version: String, | ||
filters: Seq[ProblemFilter], | ||
versionedFilters: Map[String, Seq[ProblemFilter]] | ||
)(problem: Problem): Boolean = | ||
ProblemReporting.isReported(version, filters, versionedFilters)(problem) | ||
|
||
} |
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
15 changes: 0 additions & 15 deletions
15
sbt-version-policy/src/main/scala/sbtversionpolicy/Direction.scala
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
sbt-version-policy/src/main/scala/sbtversionpolicy/IncompatibilityType.scala
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package sbtversionpolicy | ||
|
||
/** Incompatibilities can be binary incompatibilities or | ||
* source incompatibilities | ||
*/ | ||
sealed trait IncompatibilityType | ||
|
||
object IncompatibilityType { | ||
|
||
case object BinaryIncompatibility extends IncompatibilityType | ||
case object SourceIncompatibility extends IncompatibilityType | ||
|
||
} |
10 changes: 6 additions & 4 deletions
10
sbt-version-policy/src/main/scala/sbtversionpolicy/SbtVersionPolicyKeys.scala
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
Oops, something went wrong.