Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
enablePlugins(SbtPlugin)

name := "sbt-scala-module"
sonatypeProfileName := "org.scala-lang"
organization := "org.scala-lang.modules"
homepage := Some(url("https://github.com/scala/sbt-scala-module"))
licenses := Seq(("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0")))
developers := List(Developer("", "", "", url("https://scala-lang.org")))
name := "sbt-scala-module"
organization := "org.scala-lang.modules"
homepage := Some(url("https://github.com/scala/sbt-scala-module"))
licenses := Seq(("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0")))
developers := List(Developer("", "", "", url("https://scala-lang.org")))

addSbtPlugin("com.github.sbt" % "sbt-osgi" % "0.10.0")
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.3") // set version, scmInfo, publishing settings
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.1") // set version, scmInfo, publishing settings
addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "3.2.1") // brings in MiMa
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.3")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.11.1")
6 changes: 1 addition & 5 deletions src/main/scala/ScalaModulePlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import sbt.Keys._
import sbt.{Def, _}
import sbtdynver.DynVerPlugin
import sbtdynver.DynVerPlugin.autoImport.dynverGitDescribeOutput
import xerial.sbt.Sonatype.autoImport.{sonatypeProfileName, sonatypeSessionName}
import sbtversionpolicy.SbtVersionPolicyPlugin.autoImport.{Compatibility, versionPolicyCheck, versionPolicyIgnoredInternalDependencyVersions, versionPolicyIntention}

object ScalaModulePlugin extends AutoPlugin {
Expand Down Expand Up @@ -34,10 +33,7 @@ object ScalaModulePlugin extends AutoPlugin {
)

// Settings added to the project scope
override def projectSettings: Seq[Setting[_]] = Seq(
// The staging profile is called `org.scala-lang`, the default is `org.scala-lang.modules`
sonatypeProfileName := "org.scala-lang",
)
override def projectSettings: Seq[Setting[_]] = Seq()

// Global settings
override def globalSettings: Seq[Def.Setting[_]] = Seq(
Expand Down