Skip to content

Commit

Permalink
Moved to maven.
Browse files Browse the repository at this point in the history
  • Loading branch information
Linas Naginionis authored and Linas Naginionis committed Nov 20, 2019
1 parent e6192f0 commit ae29b64
Show file tree
Hide file tree
Showing 62 changed files with 498 additions and 687 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ out/
/ligradle
.DS_Store
/doc
/target
target/
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@ matrix:
include:
- jdk: openjdk13

script:
- ./gradlew build jacocoTestReport

after_success:
- bash <(curl -s https://codecov.io/bash)
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ Change Log

Version 2.0.0
--------------------------
- Bumped minimal java version to 11
- Bumped minimal java version to java 13
- StoreReader and StoreWriter implement AutoCloseable
- New config builder
- Reader and writer use generics
- Reader is now fully thread-safe
- Bloom filters could be used for better performance


Version 1.2.0 *(June 26th 2016)*
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PalDB
==========

[![Build Status](https://travis-ci.org/soundvibe/PalDB.svg?branch=java11)](https://travis-ci.org/soundvibe/PalDB)
[![Build Status](https://travis-ci.org/soundvibe/PalDB.svg)](https://travis-ci.org/soundvibe/PalDB)
[![codecov](https://codecov.io/gh/soundvibe/PalDB/branch/java11/graph/badge.svg)](https://codecov.io/gh/soundvibe/PalDB)

PalDB is an embeddable write-once key-value store written in Java.
Expand Down Expand Up @@ -72,14 +72,14 @@ Use it
PalDB is available on Maven Central, hence just add the following dependency:
```
<dependency>
<groupId>net.soundvibe.paldb</groupId>
<groupId>net.soundvibe</groupId>
<artifactId>paldb</artifactId>
<version>2.0.0</version>
</dependency>
```
Scala SBT
```
libraryDependencies += "net.soundvibe.paldb" % "paldb" % "2.0.0"
libraryDependencies += "net.soundvibe" % "paldb" % "2.0.0"
```


Expand All @@ -101,26 +101,26 @@ No, like a hashtable PalDB stores have no order.
Build
-----

PalDB requires Java 13+ and gradle. The target Java version is 13.
PalDB requires Java 13+ and maven. The target Java version is 13.

```bash
gradle build
mvn build
```

Performance tests are run separately from the build
```bash
gradle perfTest
mvn clean test -Dtag=performance
```

Test
----

We use the TestNG framework for our unit tests. You can run them via the `gradle clean test` command.
We use the JUnit framework for our unit tests. You can run them via the `mvn clean test` command.

Coverage
--------

Coverage is run using JaCoCo. You can run a report via `gradle jacocoTestReport`. The report will be generated in `paldb/build/reports/jacoco/test/html/`.
Coverage is run using JaCoCo. You can run a report via `mvn jacoco:report`. The report will be generated in `paldb/build/reports/jacoco/test/html/`.

Advanced configuration
----------------------
Expand Down
16 changes: 0 additions & 16 deletions build.gradle

This file was deleted.

11 changes: 0 additions & 11 deletions gradle.properties

This file was deleted.

Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

172 changes: 0 additions & 172 deletions gradlew

This file was deleted.

84 changes: 0 additions & 84 deletions gradlew.bat

This file was deleted.

File renamed without changes.
Loading

0 comments on commit ae29b64

Please sign in to comment.