Skip to content

Commit

Permalink
Merge pull request #24 from ohnosequences/update-github-api
Browse files Browse the repository at this point in the history
Update GitHub API library
  • Loading branch information
laughedelic authored Jan 31, 2018
2 parents bd09e77 + 051e985 commit d8c3010
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 19 deletions.
17 changes: 7 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
# http://www.scala-sbt.org/0.13/docs/Travis-CI-with-sbt.html
# http://www.scala-sbt.org/1.x/docs/Travis-CI-with-sbt.html
language: scala
scala:
- 2.12.3
jdk:
- oraclejdk8
jdk: oraclejdk8

script:
- sbt ++$TRAVIS_SCALA_VERSION compile

notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/67562f0726ed2388330c
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false
# Use container-based infrastructure
sudo: false
# These directories are cached to S3 at the end of the build
on_start: never

cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/

before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.ivy2 -name "ivydata-*.properties" -delete
- find $HOME/.sbt -name "*.lock" -delete
11 changes: 3 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,16 @@ name := "sbt-github-release"
organization := "ohnosequences"
description := "sbt plugin using github releases api"

scalaVersion := "2.12.3"
sbtVersion := "1.0.2"
scalaVersion := "2.12.4"
sbtVersion := "1.0.4"

bucketSuffix := "era7.com"

resolvers += "Github-API" at "http://repo.jenkins-ci.org/public/"
libraryDependencies += "org.kohsuke" % "github-api" % "1.89"
libraryDependencies += "org.kohsuke" % "github-api" % "1.92"

bintrayReleaseOnPublish := !isSnapshot.value
bintrayOrganization := Some(organization.value)
bintrayPackageLabels := Seq("sbt", "sbt-plugin", "github", "releases", "publish")

publishMavenStyle := false
publishTo := (publishTo in bintray).value

// Publishing fat-jar
artifact in (Compile, assembly) ~= { _.withClassifier(Some("fat")) }
addArtifact(artifact in (Compile, assembly), assembly)
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version = 1.0.2
sbt.version = 1.1.0

0 comments on commit d8c3010

Please sign in to comment.