mirror of
https://github.com/xerial/snappy-java.git
synced 2025-07-20 20:44:28 +02:00
Simplified build.sbt
This commit is contained in:
parent
cc1a886cb6
commit
a89a36bea1
52
build.sbt
52
build.sbt
@ -2,44 +2,20 @@ name := "snappy-java"
|
|||||||
organization := "org.xerial.snappy"
|
organization := "org.xerial.snappy"
|
||||||
organizationName := "xerial.org"
|
organizationName := "xerial.org"
|
||||||
description := "snappy-java: A fast compression/decompression library"
|
description := "snappy-java: A fast compression/decompression library"
|
||||||
|
|
||||||
sonatypeProfileName := "org.xerial"
|
sonatypeProfileName := "org.xerial"
|
||||||
|
publishTo in ThisBuild := sonatypePublishToBundle.value
|
||||||
publishTo := 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"))
|
||||||
pomExtra := {
|
scmInfo := Some(
|
||||||
<url>https://github.com/xerial/snappy-java</url>
|
ScmInfo(
|
||||||
<licenses>
|
browseUrl = url("https://github.com/xerial/snappy-java"),
|
||||||
<license>
|
connection = "scm:git@github.com:xerial/snappy-java.git"
|
||||||
<name>The Apache Software License, Version 2.0</name>
|
)
|
||||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
)
|
||||||
<distribution>repo</distribution>
|
developers := List(
|
||||||
</license>
|
Developer(id = "leo", name = "Taro L. Saito", email = "leo@xerial.org", url = url("http://xerial.org/leo"))
|
||||||
</licenses>
|
)
|
||||||
<developers>
|
|
||||||
<developer>
|
|
||||||
<id>leo</id>
|
|
||||||
<name>Taro L. Saito</name>
|
|
||||||
<email>leo@xerial.org</email>
|
|
||||||
<organization>Xerial Project</organization>
|
|
||||||
<roles>
|
|
||||||
<role>Architect</role>
|
|
||||||
<role>Project Manager</role>
|
|
||||||
<role>Chief Developer</role>
|
|
||||||
</roles>
|
|
||||||
<timezone>+9</timezone>
|
|
||||||
</developer>
|
|
||||||
</developers>
|
|
||||||
<issueManagement>
|
|
||||||
<system>GitHub</system>
|
|
||||||
<url>http://github.com/xerial/snappy-java/issues/list</url>
|
|
||||||
</issueManagement>
|
|
||||||
<inceptionYear>2011</inceptionYear>
|
|
||||||
<scm>
|
|
||||||
<connection>scm:git@github.com:xerial/snappy-java.git</connection>
|
|
||||||
<developerConnection>scm:git:git@github.com:xerial/snappy-java.git</developerConnection>
|
|
||||||
<url>git@github.com:xerial/snappy-java.git</url>
|
|
||||||
</scm>
|
|
||||||
}
|
|
||||||
|
|
||||||
scalaVersion in ThisBuild := "2.12.11"
|
scalaVersion in ThisBuild := "2.12.11"
|
||||||
|
|
||||||
@ -57,7 +33,6 @@ javacOptions in doc := {
|
|||||||
|
|
||||||
// Configuration for SnappyHadoopCompatibleOutputStream testing
|
// Configuration for SnappyHadoopCompatibleOutputStream testing
|
||||||
fork in Test := true
|
fork in Test := true
|
||||||
import java.io.File
|
|
||||||
val libTemp = {
|
val libTemp = {
|
||||||
val path = s"${System.getProperty("java.io.tmpdir")}/snappy_test_${System.currentTimeMillis()}"
|
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
|
// 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 ReleaseTransformations._
|
||||||
import sbtrelease._
|
|
||||||
|
|
||||||
releaseTagName := { (version in ThisBuild).value }
|
releaseTagName := { (version in ThisBuild).value }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user