-
Notifications
You must be signed in to change notification settings - Fork 160
Updates for https://github.com/eed3si9n/scalaxb/issues/603 + Version updates for Scala 2.13 + minor updates. #680
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
Changes from all commits
2f2f429
b518880
8714d1a
27b5a1a
9b10b6d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -251,10 +251,10 @@ class Driver extends Module { driver => | |
case (VersionPattern(0, 14, _), style) => | ||
// Same as 0.13.x | ||
generateDispatchFromResource(style, "/httpclients_dispatch0130", config) | ||
case (VersionPattern(1, 0 | 1, _), style) => | ||
case (VersionPattern(1, 0 | 1 | 2, _), style) => | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could we split these fixes to another PR and add a scripted test that's called only for JDK 11+? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not sure on the 2nd part of writing the scripted test case for JDK 11+ part. Can you guide me on how to achieve it? |
||
// Same as 0.13.x | ||
generateDispatchFromResource(style, "/httpclients_dispatch0130", config) | ||
case (VersionPattern(2, 0 | 2, _), style) => | ||
case (VersionPattern(2, 0, _), style) => | ||
// New for 2.0.x | ||
generateDispatchFromResource(style, "/httpclients_dispatch2000", config) | ||
} else Nil) ++ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ import sbt._ | |
|
||
object Dependencies { | ||
val scala3 = "3.3.1" | ||
val scala213 = "2.13.12" | ||
val scala213 = "2.13.16" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be a separate PR |
||
val scala212 = "2.12.18" | ||
|
||
val jaxb = "javax.xml.bind" % "jaxb-api" % "2.3.1" | ||
|
@@ -14,10 +14,11 @@ object Dependencies { | |
"com.github.scopt" %% "scopt" % "4.1.0" | ||
} | ||
} | ||
val log4j = "log4j" % "log4j" % "1.2.17" | ||
val defaultDispatchVersion = "1.0.1" | ||
val log4j = "org.apache.logging.log4j" % "log4j-core" % "2.24.3" | ||
val log4jApi = "org.apache.logging.log4j" %% "log4j-api-scala" % "13.1.0" | ||
val defaultDispatchVersion = "1.2.0" | ||
def dispatch(sv: String) = CrossVersion partialVersion sv match { | ||
case Some((2, x)) if x >= 13 => "org.dispatchhttp" %% "dispatch-core" % "1.1.0" | ||
case Some((2, x)) if x >= 13 => "org.dispatchhttp" %% "dispatch-core" % "1.2.0" | ||
case Some(_) => "org.dispatchhttp" %% "dispatch-core" % "1.0.1" | ||
case x => sys error s"Unexpected Scala version [$sv], with partial version $x" | ||
} | ||
|
@@ -65,7 +66,8 @@ object Dependencies { | |
launcherInterface % "provided", | ||
jaxb % "provided", | ||
scopt(sv), | ||
log4j | ||
log4j, | ||
log4jApi | ||
) ++ (sv match { | ||
case x if sv.startsWith("2.12.") => Seq(scalaXml2, scalaParserCombinators1) | ||
case x => Seq(scalaXml2, scalaParserCombinators2) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you split refactoring into another PR plz?