Skip to content

Commit

Permalink
moving main line to java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-bukhtoyarov committed Jul 25, 2022
1 parent b186489 commit 9f977fe
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,19 @@ Sometimes you are having deal with bucket per key scenarios but distributed sync
#### You can add Bucket4j to your project as maven dependency
The Bucket4j is distributed through [Maven Central](http://search.maven.org/):
```xml
<!-- For java 11+ -->
<dependency>
<groupId>com.bucket4j</groupId>
<artifactId>bucket4j-core</artifactId>
<version>8.0.0</version>
</dependency>

<!-- For java 8 -->
<dependency>
<groupId>com.bucket4j</groupId>
<artifactId>bucket4j_jdk8-core</artifactId>
<version>8.0.0</version>
</dependency>
```
#### You can build Bucket4j from sources
```bash
Expand All @@ -81,3 +89,23 @@ Feel free to ask via:
## License
Copyright 2015-2021 Vladimir Bukhtoyarov
Licensed under the Apache Software License, Version 2.0: <http://www.apache.org/licenses/LICENSE-2.0>.

## Java compatibility matrix
Since July 2022(release 8.0.0) it was decided to migrate Bucket4j to Java 11. It can be bad news for all who get stuck on Java 8 by different reasons. We understand your pain and will provide special builds with dedicated artifacts for java 8 for intermediate period, but keep in mind then probably access to fresh builds of Bucket4j for Java 8 can be moved to a commercial model in the future.

Bellow the compatibility matrix of Bucket4j's maven artefact with different java versions
| JAVA 11 | JAVA 8 | Comments |
| :--- | :---: | :---: |
| ```com.bucket4j:bucket4j-core``` | ```com.bucket4j:bucket4j_jdk8-core``` | |
| ```com.bucket4j:bucket4j-jcache``` | ```com.bucket4j:bucket4j_jdk8-jcache``` | |
| ```com.bucket4j:bucket4j-coherence``` | ```com.bucket4j:bucket4j_jdk8-coherence``` | |
| ```com.bucket4j:bucket4j-hazelcast``` | ```com.bucket4j:bucket4j_jdk8-hazelcast``` | |
| ```com.bucket4j:bucket4j-hazelcast``` | ```com.bucket4j:bucket4j_jdk8-hazelcast``` | |
| ```com.bucket4j:bucket4j-infinispan``` | ```com.bucket4j:bucket4j_jdk8-infinispan``` | |
| Not supported | ```com.bucket4j:bucket4j_jdk8-infinispan-8``` | |
| ```com.bucket4j:bucket4j-redis``` | ```com.bucket4j:bucket4j_jdk8-redis``` | |
| ```com.bucket4j:bucket4j-mysql``` | ```com.bucket4j:bucket4j_jdk8-mysql``` | |
| ```com.bucket4j:bucket4j-postgresql``` | ```com.bucket4j:bucket4j_jdk8-postgresql``` | |
| ```com.bucket4j:bucket4j-caffeine``` | ```com.bucket4j:bucket4j_jdk8-caffeine``` | |
| ```com.bucket4j:bucket4j-bucket4j-dynamodb-sdk-v1``` | ```com.bucket4j:bucket4j_jdk8-dynamodb-sdk-v1``` | |

0 comments on commit 9f977fe

Please sign in to comment.