Skip to content

Commit

Permalink
Merge pull request #20 from graingert/fix-packaging
Browse files Browse the repository at this point in the history
configure sbt
  • Loading branch information
ph2734 committed May 24, 2016
2 parents 137f16b + 7a0829a commit b26ff44
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 10 deletions.
25 changes: 19 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
# Created by https://www.gitignore.io/api/scala

### Scala ###
*.class
*.log

# sbt specific
.cache
.history
.lib/
dist/*
target/
lib_managed/
src_managed/
project/boot/
project/plugins
project/target
project/plugins/target
project/plugins/project/*
.idea/*
logs/
project/plugins/project/

# Scala-IDE specific
.scala_dependencies
.worksheet

31 changes: 31 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
bintrayRepository := "sedis"
bintrayReleaseOnPublish in ThisBuild := false

organization := "org.sedis"
crossScalaVersions := Seq("2.10.6", "2.11.8")
licenses += ("MIT", url("https://spdx.org/licenses/MIT"))

publishArtifact in Test := false

publishMavenStyle := true
pomIncludeRepository := { _ => false }
pomExtra := (
<url>https://github.com/pk11/sedis</url>
<scm>
<connection>scm:git:github.com/pk11/sedis.git</connection>
<developerConnection>scm:git:git@github.com:pk11/sedis.git</developerConnection>
<url>https://github.com/pk11/sedis</url>
</scm>
<developers>
<developer>
<id>pk11</id>
<name>Peter Hausel</name>
<url>https://github.com/pk11</url>
</developer>
<developer>
<id>graingert</id>
<name>Thomas Grainger</name>

This comment has been minimized.

Copy link
@graingert

graingert May 24, 2016

Collaborator

Oh woops, I didn't mean to include myself in the developer column in your version. Only in packages I released onto bintray!

<url>https://graingert.co.uk/</url>
</developer>
</developers>
)
4 changes: 0 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<properties>
<scala.version>2.11.1</scala.version>
</properties>

<modelVersion>4.0.0</modelVersion>
<groupId>org.sedis</groupId>
<artifactId>sedis_2.11</artifactId>
Expand Down
1 change: 1 addition & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=0.13.11
2 changes: 2 additions & 0 deletions project/build.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import sbt._
object MyBuild extends com.typesafe.sbt.pom.PomBuild
3 changes: 3 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
addSbtPlugin("com.typesafe.sbt" % "sbt-pom-reader" % "2.0.0")

addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")
1 change: 1 addition & 0 deletions version.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version in ThisBuild := "1.2.2"

0 comments on commit b26ff44

Please sign in to comment.