diff --git a/build.sbt b/build.sbt index f204893..deed68f 100644 --- a/build.sbt +++ b/build.sbt @@ -2,44 +2,20 @@ name := "snappy-java" organization := "org.xerial.snappy" organizationName := "xerial.org" description := "snappy-java: A fast compression/decompression library" + sonatypeProfileName := "org.xerial" - -publishTo := sonatypePublishToBundle.value - -pomExtra := { - https://github.com/xerial/snappy-java - - - The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - - - - leo - Taro L. Saito - leo@xerial.org - Xerial Project - - Architect - Project Manager - Chief Developer - - +9 - - - - GitHub - http://github.com/xerial/snappy-java/issues/list - - 2011 - - scm:git@github.com:xerial/snappy-java.git - scm:git:git@github.com:xerial/snappy-java.git - git@github.com:xerial/snappy-java.git - -} +publishTo in ThisBuild := sonatypePublishToBundle.value +licenses := Seq("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.html")) +homepage := Some(url("https://github.com/xerial/snappy-java")) +scmInfo := Some( + ScmInfo( + browseUrl = url("https://github.com/xerial/snappy-java"), + connection = "scm:git@github.com:xerial/snappy-java.git" + ) +) +developers := List( + Developer(id = "leo", name = "Taro L. Saito", email = "leo@xerial.org", url = url("http://xerial.org/leo")) +) scalaVersion in ThisBuild := "2.12.11" @@ -57,7 +33,6 @@ javacOptions in doc := { // Configuration for SnappyHadoopCompatibleOutputStream testing fork in Test := true -import java.io.File val libTemp = { val path = s"${System.getProperty("java.io.tmpdir")}/snappy_test_${System.currentTimeMillis()}" // certain older Linux systems (debian/trusty in Travis CI) requires the libsnappy.so, loaded by @@ -132,7 +107,6 @@ OsgiKeys.additionalHeaders := Map( ) import ReleaseTransformations._ -import sbtrelease._ releaseTagName := { (version in ThisBuild).value }