diff --git a/build.sbt b/build.sbt index 4df05d4..bb986b9 100644 --- a/build.sbt +++ b/build.sbt @@ -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:git@github.com:portable-scala/sbt-crossproject.git", + Some("scm:git:git@github.com:portable-scala/sbt-crossproject.git") + ) + ) )) lazy val `sbt-crossproject-root` = diff --git a/project/Extra.scala b/project/Extra.scala index e49dd29..54fee2d 100644 --- a/project/Extra.scala +++ b/project/Extra.scala @@ -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:git@github.com:portable-scala/sbt-crossproject.git", - Some("scm:git:git@github.com:portable-scala/sbt-crossproject.git") - ) - ), // Publishing pomExtra := (