Skip to content

Commit

Permalink
Updating signing configuration for sbt 0.13.6.
Browse files Browse the repository at this point in the history
The sonatype account information should be configured as sbt has documented it here:
http://www.scala-sbt.org/0.13/docs/Using-Sonatype.html

I've also used the command line gpg utility, and distributed a new key for signing. Something doesn't seem to work, though I suspect this is on the sonatype end, not the sbt side. We'll see.
  • Loading branch information
tristanjuricek committed Nov 23, 2014
1 parent 1aaceaf commit a6d078c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,40 @@ libraryDependencies := {
libraryDependencies.value
}
}

useGpg := true

publishMavenStyle := true

publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

pomExtra := (
<url>http://tristanjuricek.com/projects/knockoff</url>
<licenses>
<license>
<name>BSD-style</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:tristanjuricek/knockoff.git</url>
<connection>scm:git:git@github.com:tristanjuricek/knockoff.git</connection>
</scm>
<developers>
<developer>
<id>tjuricek</id>
<name>Tristan Juricek</name>
<url>http://tristanjuricek.com</url>
</developer>
</developers>)
2 changes: 1 addition & 1 deletion license.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2009-2013, Tristan Juricek
Copyright (c) 2009-2014, Tristan Juricek
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are
Expand Down

0 comments on commit a6d078c

Please sign in to comment.