Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
winitzki committed Jul 10, 2024
1 parent 56d20fd commit 6e281f6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
23 changes: 12 additions & 11 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,21 @@ val kindProjectorPlugin = compilerPlugin(kindProjector)
def scala_reflect(value: String) = "org.scala-lang" % "scala-reflect" % value % Compile

lazy val publishingOptions = Seq(
organization := "io.chymyst",
version := thisReleaseVersion,
ThisBuild / version := thisReleaseVersion,
licenses := Seq("Apache License, Version 2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt")),
homepage := Some(url("https://github.com/winitzki/scall")),
description := "Implementation of the Dhall language in Scala, with Scala language bindings",
publishTo := sonatypePublishToBundle.value,
organization := "io.chymyst",
version := thisReleaseVersion,
ThisBuild / version := thisReleaseVersion,
licenses := Seq("Apache License, Version 2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt")),
homepage := Some(url("https://github.com/winitzki/scall")),
description := "Implementation of the Dhall language in Scala, with Scala language bindings",
publishTo := sonatypePublishToBundle.value,
sonatypeProjectHosting := Some(GitHubHosting("winitzki", "scall", "[email protected]")),
// homepage := Some(url("https://github.com/winitzki/scall")),
// scmInfo := Some(ScmInfo(url("https://github.com/winitzki/scall"), "scm:[email protected]:winitzki/scall.git")),
// developers := List(Developer(id = "winitzki", name = "Sergei Winitzki", email = "[email protected]", url = url("https://sites.google.com/site/winitzki"))),
)

lazy val noPublishing = Seq(version := thisReleaseVersion, publishArtifact := false, publishMavenStyle := true, publish := {}, publishLocal := {}, publish / skip := true)
lazy val noPublishing =
Seq(version := thisReleaseVersion, publishArtifact := false, publishMavenStyle := true, publish := {}, publishLocal := {}, publish / skip := true)

lazy val jdkModuleOptions: Seq[String] = {
val jdkVersion = scala.sys.props.get("JDK_VERSION")
Expand Down Expand Up @@ -219,9 +220,9 @@ lazy val scall_typeclasses = (project in file("scall-typeclasses"))

/////////////////////////////////////////////////////////////////////////////////////////////////////
// Publishing to Sonatype Maven repository
publishMavenStyle := true
publishTo := sonatypePublishToBundle.value
sonatypeProfileName := "io.chymyst"
publishMavenStyle := true
publishTo := sonatypePublishToBundle.value
sonatypeProfileName := "io.chymyst"
//ThisBuild / sonatypeCredentialHost := sonatypeCentralHost // Not relevant because io.chymyst was created before 2021.

/*{
Expand Down
5 changes: 2 additions & 3 deletions sonatype.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Following instructions from https://github.com/xerial/sbt-sonatype
// see https://issues.sonatype.org/browse/OSSRH-27720
ThisBuild/ pomExtra :=
<inceptionYear>2023</inceptionYear>

ThisBuild / pomExtra :=
<inceptionYear>2023</inceptionYear>

//sonatypeProfileName := "io.chymyst"

0 comments on commit 6e281f6

Please sign in to comment.