-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Build: don't depend on Interplay #468
Conversation
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.
Looking good. I think we can move to next step: tweaking Travis
project/Common.scala
Outdated
"https://gitter.im/playframework/contributors", | ||
url("https://github.com/playframework") | ||
), | ||
description := "Play mailer plugin" |
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.
description := "Play mailer plugin" | |
description := "Play JSON" |
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.
😄
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.
It's so good to see interplay
go. Thanks @ennru
@@ -139,27 +128,13 @@ lazy val root = project | |||
`play-json-joda` | |||
) | |||
.settings(commonSettings) | |||
.settings( | |||
Seq( | |||
// this overrides releaseProcess to make it work with sbt-dynver |
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.
OMG! Why use interplay if the release process is overriden?!
So good to get rid of this!
build.sbt
Outdated
|
||
lazy val `play-json` = crossProject(JVMPlatform, JSPlatform) | ||
.crossType(CrossType.Full) | ||
.in(file("play-json")) | ||
.enablePlugins(PlayLibrary, Playdoc) | ||
// .enablePlugins(PlayLibrary, Playdoc) | ||
.enablePlugins(Publish, Playdoc) |
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.
I'm susprised this one has the Playdoc
plugin but not Omnidoc
one.
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.
Actually, I think it does need Omnidoc
. Interplays
PlayLibrary` did bring it in.
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.
Added.
project/Dependencies.scala
Outdated
@@ -0,0 +1,9 @@ | |||
object Dependencies { | |||
// scalaVersion needs to be kept in sync with travis-ci | |||
val Scala210 = "2.10.7" |
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.
Is this needed for scalaJS?
I think interplay
only had scala210
for sbt 0.13
...
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.
Removed.
case None if buildDir == projDir => "" // Same dir (sbt 0.13) | ||
case Some("") => "" // Same dir (sbt 1.0) |
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.
Probably we can get rid of these two cases in play-json
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.
I wanted to keep the diff to Interplay's version minimal.
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.
And rebased on master.
build.sbt
Outdated
|
||
lazy val `play-json` = crossProject(JVMPlatform, JSPlatform) | ||
.crossType(CrossType.Full) | ||
.in(file("play-json")) | ||
.enablePlugins(PlayLibrary, Playdoc) | ||
// .enablePlugins(PlayLibrary, Playdoc) | ||
.enablePlugins(Publish, Playdoc) |
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.
Added.
project/Common.scala
Outdated
"https://gitter.im/playframework/contributors", | ||
url("https://github.com/playframework") | ||
), | ||
description := "Play mailer plugin" |
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.
😄
project/Dependencies.scala
Outdated
@@ -0,0 +1,9 @@ | |||
object Dependencies { | |||
// scalaVersion needs to be kept in sync with travis-ci | |||
val Scala210 = "2.10.7" |
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.
Removed.
case None if buildDir == projDir => "" // Same dir (sbt 0.13) | ||
case Some("") => "" // Same dir (sbt 1.0) |
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.
I wanted to keep the diff to Interplay's version minimal.
Is this ready for merge? |
Preparations to enable release by tag