-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move repository-wide settings to
inThisBuild
to fix publishing.
- Loading branch information
Showing
2 changed files
with
22 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,28 @@ import Extra._ | |
|
||
inThisBuild( | ||
Def.settings( | ||
scalaVersion := "2.12.10" | ||
scalaVersion := "2.12.10", | ||
scalacOptions ++= Seq( | ||
"-deprecation", | ||
"-unchecked", | ||
"-feature", | ||
"-encoding", | ||
"utf8" | ||
), | ||
organization := "org.portable-scala", | ||
versionScheme := Some("semver-spec"), | ||
homepage := Some( | ||
url("https://github.com/portable-scala/sbt-crossproject")), | ||
licenses := Seq( | ||
"BSD-like" -> url("http://www.scala-lang.org/downloads/license.html") | ||
), | ||
scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/portable-scala/sbt-crossproject"), | ||
"scm:git:[email protected]:portable-scala/sbt-crossproject.git", | ||
Some("scm:git:[email protected]:portable-scala/sbt-crossproject.git") | ||
) | ||
) | ||
)) | ||
|
||
lazy val `sbt-crossproject-root` = | ||
|
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 |
---|---|---|
|
@@ -12,33 +12,10 @@ object Extra { | |
val newScalaBinaryVersionsInThisRelease: Set[String] = Set() | ||
|
||
val sbtPluginSettings = Def.settings( | ||
organization := "org.portable-scala", | ||
versionScheme := Some("semver-spec"), | ||
scalacOptions ++= Seq( | ||
"-deprecation", | ||
"-unchecked", | ||
"-feature", | ||
"-encoding", | ||
"utf8" | ||
), | ||
sbtVersion := "1.2.1" | ||
) | ||
|
||
lazy val publishSettings = Seq( | ||
Compile / publishArtifact := true, | ||
Test / publishArtifact := false, | ||
homepage := Some( | ||
url("https://github.com/portable-scala/sbt-crossproject")), | ||
licenses := Seq( | ||
"BSD-like" -> url("http://www.scala-lang.org/downloads/license.html") | ||
), | ||
scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/portable-scala/sbt-crossproject"), | ||
"scm:git:[email protected]:portable-scala/sbt-crossproject.git", | ||
Some("scm:git:[email protected]:portable-scala/sbt-crossproject.git") | ||
) | ||
), | ||
// Publishing | ||
pomExtra := ( | ||
<developers> | ||
|