From 71bf4004b310469f411bc1e4791c6c8180a4487a Mon Sep 17 00:00:00 2001 From: MA Date: Sat, 1 Mar 2025 09:39:35 +0530 Subject: [PATCH 1/2] added jdk support section --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 15aabf56..ad9f3154 100644 --- a/README.md +++ b/README.md @@ -259,6 +259,25 @@ Client client = new Client(config); This package guarantees compatibility with [version v1.x of Meilisearch](https://github.com/meilisearch/meilisearch/releases/latest), but some features may not be present. Please check the [issues](https://github.com/meilisearch/meilisearch-java/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+label%3Aenhancement) for more info. +This SDK is compatible with the following JDK versions: + +| SDK Version | Supported Java Versions | +|-------------|-------------------------| +| v1.x | JDK 8 and above | + +### Recommended Java Version +For optimal performance and security, we recommend using **Java 11 or later**. + +Ensure that your project is set to a compatible Java version in your `build.gradle`: + +```gradle +java { + sourceCompatibility = JavaVersion.VERSION_1_8 // or JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_1_8 // or JavaVersion.VERSION_11 +} + + + ## 💡 Learn more The following sections in our main documentation website may interest you: From 3e2bc94e643ec7fd45f336d0e465c784581e2e45 Mon Sep 17 00:00:00 2001 From: MA Date: Sat, 1 Mar 2025 09:41:13 +0530 Subject: [PATCH 2/2] removed extra space --- README.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/README.md b/README.md index ad9f3154..3ae6005a 100644 --- a/README.md +++ b/README.md @@ -265,19 +265,6 @@ This SDK is compatible with the following JDK versions: |-------------|-------------------------| | v1.x | JDK 8 and above | -### Recommended Java Version -For optimal performance and security, we recommend using **Java 11 or later**. - -Ensure that your project is set to a compatible Java version in your `build.gradle`: - -```gradle -java { - sourceCompatibility = JavaVersion.VERSION_1_8 // or JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_1_8 // or JavaVersion.VERSION_11 -} - - - ## 💡 Learn more The following sections in our main documentation website may interest you: