diff --git a/.travis.yml b/.travis.yml index a4293b2..d438fdb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/README.md b/README.md index 5b15706..629f96e 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 + + + jitpack.io + https://jitpack.io + + + + + com.github.xavierguihot + geobase + v1.1.2 + +``` + +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: diff --git a/build.sbt b/build.sbt index 28a9705..5cee3fc 100644 --- a/build.sbt +++ b/build.sbt @@ -1,6 +1,6 @@ name := "geobase" -version := "1.1.1" +version := "1.1.2" scalaVersion := "2.11.8" diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 0000000..f299eb0 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,4 @@ +jdk: + - oraclejdk8 +before_install: + - ./update_data.sh \ No newline at end of file