-
-
Notifications
You must be signed in to change notification settings - Fork 74
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 #181 from ennru/travis-stages
- Loading branch information
Showing
5 changed files
with
76 additions
and
29 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
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
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,30 @@ | ||
import sbt.Keys._ | ||
import sbt._ | ||
import sbt.plugins.JvmPlugin | ||
|
||
object Common extends AutoPlugin { | ||
override def trigger = allRequirements | ||
|
||
override def requires = JvmPlugin | ||
|
||
val repoName = "play-mailer" | ||
|
||
override def globalSettings = | ||
Seq( | ||
organization := "com.typesafe.play", | ||
organizationName := "Lightbend Inc.", | ||
organizationHomepage := Some(url("https://www.lightbend.com/")), | ||
homepage := Some(url(s"https://github.com/playframework/${repoName}")), | ||
licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.html")), | ||
|
||
scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked", "-encoding", "utf8"), | ||
javacOptions ++= Seq("-encoding", "UTF-8", "-Xlint:-options"), | ||
|
||
scmInfo := Some(ScmInfo(url(s"https://github.com/playframework/${repoName}"), s"scm:git:[email protected]:playframework/${repoName}.git")), | ||
developers += Developer("contributors", | ||
"Contributors", | ||
"https://gitter.im/playframework/contributors", | ||
url("https://github.com/playframework")), | ||
|
||
description := "Play mailer plugin") | ||
} |
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,10 @@ | ||
import sbt._ | ||
|
||
object Dependencies { | ||
// scalaVersion needs to be kept in sync with travis-ci | ||
val Scala212 = "2.12.11" | ||
val Scala213 = "2.13.2" | ||
val ScalaVersions = Seq(Scala212, Scala213) | ||
|
||
val PlayVersion = sys.props.getOrElse("play.version", sys.env.getOrElse("PLAY_VERSION", "2.8.0")) | ||
} |
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