Skip to content

Commit

Permalink
Add jitpack to serve releases
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierguihot committed Jan 4, 2018
1 parent b2174ee commit acba8d5
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 6 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: scala
scala:
- 2.10.4
- 2.11.2
- 2.11.8
install: ./update_data.sh
script: "sbt clean coverage test"
Expand Down
43 changes: 39 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

# GeoBase [![Build Status](https://travis-ci.org/XavierGuihot/geobase.svg?branch=master)](https://travis-ci.org/XavierGuihot/geobase) [![Coverage Status](https://coveralls.io/repos/github/XavierGuihot/geobase/badge.svg?branch=master)](https://coveralls.io/github/XavierGuihot/geobase?branch=master)
# GeoBase [![Build Status](https://travis-ci.org/XavierGuihot/geobase.svg?branch=master)](https://travis-ci.org/XavierGuihot/geobase) [![Coverage Status](https://coveralls.io/repos/github/XavierGuihot/geobase/badge.svg?branch=master)](https://coveralls.io/github/XavierGuihot/geobase?branch=master) [![Release](https://jitpack.io/v/XavierGuihot/geobase.svg)](https://jitpack.io/#XavierGuihot/geobase)


## Overview


Version: 1.1.1
Version: 1.1.2

API Scaladoc: [GeoBase](http://xavierguihot.com/geobase/#com.geobase.GeoBase)

Expand Down Expand Up @@ -65,9 +65,44 @@ Thus the usage of the Try monade.
## Including geobase to your dependencies:


With sbt, just add this one line to your build.sbt:
With sbt, add these lines to your build.sbt:

libraryDependencies += "geobase" % "geobase" % "1.1.1" from "https://github.com/xavierguihot/geobase/releases/download/v1.1.1/geobase-1.1.1.jar"
```
resolvers += "jitpack" at "https://jitpack.io"
libraryDependencies += "com.github.xavierguihot" % "geobase" % "v1.1.2"
```

With maven, add these lines to your pom.xml:

```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>

<dependency>
<groupId>com.github.xavierguihot</groupId>
<artifactId>geobase</artifactId>
<version>v1.1.2</version>
</dependency>
```

With gradle, add these lines to your build.gradle:

```
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.xavierguihot:geobase:v1.1.2'
}
```


## Building the project:
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name := "geobase"

version := "1.1.1"
version := "1.1.2"

scalaVersion := "2.11.8"

Expand Down
4 changes: 4 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
jdk:
- oraclejdk8
before_install:
- ./update_data.sh

0 comments on commit acba8d5

Please sign in to comment.