Skip to content

Commit

Permalink
publish to sonatype.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Apr 18, 2022
1 parent 4f8ad76 commit 90023c9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
17 changes: 15 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
scalaVersion := "3.1.1"

enablePlugins(ScalaNativePlugin)

scalaVersion := "3.1.1"
organization := "com.fiatjaf"
name := "sn-sha256"
version := "0.1.0"
sonatypeProfileName := "com.fiatjaf"
homepage := Some(url("https://github.com/fiatjaf/sn-sha256"))
scmInfo := Some(ScmInfo(url("https://github.com/fiatjaf/sn-sha256"), "git@github.com:fiatjaf/sn-sha256.git"))
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
developers := List(
Developer(id="fiatjaf", name="fiatjaf", email="fiatjaf@gmail.com", url=url("https://fiatjaf.com/"))
)
publishMavenStyle := true
publishTo := sonatypePublishToBundle.value
sonatypeCredentialHost := "s01.oss.sonatype.org"

libraryDependencies += "com.lihaoyi" %%% "utest" % "0.7.11" % Test
testFrameworks += new TestFramework("utest.runner.Framework")
nativeLinkStubs := true
1 change: 0 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
addSbtPlugin("com.indoorvivants" % "bindgen-sbt-plugin" % "0.0.7")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.4")

0 comments on commit 90023c9

Please sign in to comment.