-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
37 lines (32 loc) · 1.26 KB
/
build.sbt
File metadata and controls
37 lines (32 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Import default settings. This changes `publishTo` settings to use the Sonatype repository and add several commands for publishing.
xerial.sbt.Sonatype.sonatypeSettings
name := "scron"
version := CommonVersions.scron
scalaVersion := CommonVersions.scala
organization := "com.uniformlyrandom"
licenses := Seq("MIT-style" -> url("https://opensource.org/licenses/mit-license.php"))
homepage := Some(url("https://github.com/uniformlyrandom/scron"))
publishMavenStyle := true
Test / publishArtifact := false
//useGpg := true
pomIncludeRepository := { _ => false }
credentials += Credentials(Path.userHome / ".sbt" / ".credentials")
publishTo := sonatypePublishToBundle.value
publishConfiguration := publishConfiguration.value.withOverwrite(true)
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % CommonVersions.scalaTest % Test,
"org.scala-lang" % "scala-reflect" % scalaVersion.value
)
resolvers ++= Seq(
"Sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
)
pomExtra := <scm>
<url>git@github.com:uniformlyrandom/scron.git</url>
<connection>scm:git:git@github.com:uniformlyrandom/scron.git</connection>
</scm>
<developers>
<developer>
<id>romansky</id>
<name>Roman Landenband</name>
</developer>
</developers>