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

sbt 1.0.4. cleanup build settings #488

Merged
merged 1 commit into from Nov 26, 2017
Merged

sbt 1.0.4. cleanup build settings #488

merged 1 commit into from Nov 26, 2017

Conversation

xuwei-k
Copy link
Member

@xuwei-k xuwei-k commented Nov 26, 2017

No description provided.

addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.7.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-start-script" % "0.10.0")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sbt-start-script and sbt-javaversioncheck does not available for sbt 1.0

#!/bin/bash

sbt ++2.10.6 javaVersionCheck publishSigned \
++2.11.11 javaVersionCheck publishSigned
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

json4s 3.6 dropped Java 7 support. 43ebd6b
We can/should use just sbt +publishSigned

PartialFunction.condOpt(CrossVersion.partialVersion(scalaVersion.value)){
case Some((2, v)) if v <= 12 =>
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, v)) if v <= 10 =>
Seq("org.specs2" %% "specs2-scalacheck" % "3.9.4" % "test")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

specs2 4.x does not support Scala 2.10

@seratch
Copy link
Member

seratch commented Nov 26, 2017

Thanks, LGTM.

@seratch seratch merged commit 63de8a3 into json4s:3.6 Nov 26, 2017
@xuwei-k xuwei-k deleted the sbt-1.0 branch November 27, 2017 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants