diff --git a/README.md b/README.md index 4386fe207..178274ec5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -MapDB: database engine -======================= +# MapDB: database engine + [![Build Status](https://travis-ci.org/jankotek/mapdb.svg?branch=master)](https://travis-ci.org/jankotek/mapdb) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.mapdb/mapdb/badge.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.mapdb%22%20AND%20a%3Amapdb) [![Join the chat at https://gitter.im/jankotek/mapdb](https://badges.gitter.im/jankotek/mapdb.svg)](https://gitter.im/jankotek/mapdb?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) @@ -16,8 +16,9 @@ It is free under Apache 2 license. MapDB is flexible and can be used in many rol * RDBMs replacement with transactions, MVCC, incremental backups etc… * Local data processing and filtering. MapDB has utilities to process huge quantities of data in reasonable time. -Hello world -------------------- +## Dependency + +### Maven Maven snippet, VERSION is [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.mapdb/mapdb/badge.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.mapdb%22%20AND%20a%3Amapdb) @@ -29,26 +30,45 @@ Maven snippet, VERSION is [![Maven Central](https://maven-badges.herokuapp.com/m ``` -Hello world: +### Gradle + +Gradle snippet, VERSION is [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.mapdb/mapdb/badge.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.mapdb%22%20AND%20a%3Amapdb) + +```groovy +compile "org.mapdb:mapdb:VERSION" +``` + +## Hello World + +### Java ```java //import org.mapdb.* DB db = DBMaker.memoryDB().make(); -ConcurrentMap map = db.hashMap("map").make(); +ConcurrentMap map = db.hashMap("map").createOrOpen(); map.put("something", "here"); ``` +### Kotlin + +```kotlin +//import org.mapdb.* +val db = DBMaker.memoryDB().make() +val map = db.hashMap("map").createOrOpen() as HTreeMap +map["something"] = "here" +``` + +## Documentation + You can continue with [quick start](https://jankotek.gitbooks.io/mapdb/content/quick-start/) or refer to the [documentation](https://jankotek.gitbooks.io/mapdb/). -Support ------------- +## Support More [details](http://www.mapdb.org/support/). -Development --------------------- +## Development -MapDB is written in Kotlin. You will need IntelliJ Idea 15 and newer to edit it. +MapDB is written in Kotlin. You will need IntelliJ Idea 15 or newer to edit it. You can use Maven to build MapDB by issuing command `mvn install`. diff --git a/pom.xml b/pom.xml index 1cecc0612..4bad65222 100644 --- a/pom.xml +++ b/pom.xml @@ -34,8 +34,8 @@ - 1.2.0 - 1.2.0 + 1.2.30 + 1.2.31 1.8 1.8 @@ -56,7 +56,7 @@ org.jetbrains.kotlin - kotlin-stdlib-jre8 + kotlin-stdlib-jdk8 ${kotlin.version} @@ -338,6 +338,26 @@ + + org.apache.maven.plugins + maven-jdeps-plugin + 3.1.0 + + + + jdkinternals + test-jdkinternals + + + + + target/jdeps + false + true + true + + +