Skip to content

Commit

Permalink
build.sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
DmytroMitin committed Jul 22, 2019
1 parent aa3ba32 commit 39af79b
Showing 1 changed file with 23 additions and 26 deletions.
49 changes: 23 additions & 26 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,30 @@ lazy val scala211 = "2.11.12"
lazy val scala210 = "2.10.7"
lazy val supportedScalaVersions = List(scala213, scala212, scala211, scala210)

inThisBuild(Seq(
name := "auxify",
organization := "com.github.dmytromitin",
organizationName := "Dmytro Mitin",
organizationHomepage := Some(url("https://github.com/DmytroMitin")),
version := "0.3",
scalaVersion := scala213,
scmInfo := Some(ScmInfo(
url("https://github.com/DmytroMitin/AUXify"),
"https://github.com/DmytroMitin/AUXify.git"
)),
developers := List(Developer(
id = "DmytroMitin",
name = "Dmytro Mitin",
email = "[email protected]",
url = url("https://github.com/DmytroMitin")
)),
description := "Library providing macro annotations @aux, @self, @instance, @apply, @delegated, @syntax",
licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")),
homepage := Some(url("https://github.com/DmytroMitin/AUXify")),
// Remove all additional repository other than Maven Central from POM
pomIncludeRepository := { _ => false },
publishMavenStyle := true,
useGpg := true,
credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credential"),
ThisBuild / name := "auxify"
ThisBuild / organization := "com.github.dmytromitin"
ThisBuild / organizationName := "Dmytro Mitin"
ThisBuild / organizationHomepage := Some(url("https://github.com/DmytroMitin"))
ThisBuild / version := "0.3"
ThisBuild / scalaVersion := scala213
ThisBuild / scmInfo := Some(ScmInfo(
url("https://github.com/DmytroMitin/AUXify"),
"https://github.com/DmytroMitin/AUXify.git"
))

ThisBuild / developers := List(Developer(
id = "DmytroMitin",
name = "Dmytro Mitin",
email = "[email protected]",
url = url("https://github.com/DmytroMitin")
))
ThisBuild / description := "Library providing macro annotations @aux, @self, @instance, @apply, @delegated, @syntax"
ThisBuild / licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / homepage := Some(url("https://github.com/DmytroMitin/AUXify"))
// Remove all additional repository other than Maven Central from POM
ThisBuild / pomIncludeRepository := { _ => false }
ThisBuild / publishMavenStyle := true
ThisBuild / useGpg := true
ThisBuild / credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credential")
ThisBuild / publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
Expand Down

0 comments on commit 39af79b

Please sign in to comment.