diff --git a/README.md b/README.md index b4fabb71..5305c06f 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ This section will guide you through the installation of Kafka Connector to get i Get the deployment package from the [latest release page](https://github.com/Lightstreamer/Lightstreamer-kafka-connector/releases/latest). Alternatively, check out this repository and run the following command from the [`kafka-connector-project`](kafka-connector-project/) folder: ```sh -$ ./gradlew distribuite +$ ./gradlew distribute ``` which generates the `lightstreamer-kafka-connector-.zip` bundle under the `kafka-connector-project/deploy` folder. @@ -255,7 +255,7 @@ where you have to replace `username` and `password` with the credentials generat Before launching the consumer, you first need to build it from the [`kafka-connector-project`](kafka-connector-project/) folder with the command: ```sh - $ ./gradlew distribuiteConsumer + $ ./gradlew distributeConsumer ``` which generates the `lightstreamer-kafka-connector-utils-consumer-all-.jar` under the `deploy-consumer` folder. @@ -285,7 +285,7 @@ where you have to replace `username` and `password` with the credentials generat ```sh $ cd examples/quickstart-producer - $ ./gradlew distribuite + $ ./gradlew distribute ``` which generates the `quickstart-producer-all` under the `deploy` folder. diff --git a/examples/docker/build.sh b/examples/docker/build.sh index 9d6db293..9824fb1c 100755 --- a/examples/docker/build.sh +++ b/examples/docker/build.sh @@ -5,7 +5,7 @@ TMP_DIR=${SCRIPT_DIR}/tmp # Generate the deployment package echo "Making the deployment package" -$_gradle distribuite +$_gradle distribute mkdir -p ${TMP_DIR} cp ${projectDir}/deploy/lightstreamer-kafka-connector-${version}.zip ${TMP_DIR} diff --git a/examples/quickstart-producer/Dockerfile b/examples/quickstart-producer/Dockerfile index 0d5862a2..6108f857 100644 --- a/examples/quickstart-producer/Dockerfile +++ b/examples/quickstart-producer/Dockerfile @@ -12,7 +12,7 @@ COPY settings.gradle . COPY gradle.properties . # Generate the jar -RUN gradle distribuite +RUN gradle distribute # Use the official Eclipse Temuring image FROM eclipse-temurin:21-jdk diff --git a/examples/quickstart-producer/README.md b/examples/quickstart-producer/README.md index 276c1bc1..fba40cfb 100644 --- a/examples/quickstart-producer/README.md +++ b/examples/quickstart-producer/README.md @@ -5,7 +5,7 @@ This folder contains the Gradle project of the Kafka native producer used for th To build the producer: ```sh -./gradlew distribuite +./gradlew distribute ``` which generates the `quickstart-producer-all` under the `deploy` folder. diff --git a/examples/quickstart-producer/build.gradle b/examples/quickstart-producer/build.gradle index e0b50e69..7b523086 100644 --- a/examples/quickstart-producer/build.gradle +++ b/examples/quickstart-producer/build.gradle @@ -33,7 +33,7 @@ tasks.register('uberJar', Jar) { } } -task distribuite(type: Copy) { +task distribute(type: Copy) { from uberJar into "$rootDir/$deployDirName" } diff --git a/kafka-connector-project/kafka-connector-utils/build.gradle b/kafka-connector-project/kafka-connector-utils/build.gradle index 4b52dfbf..cdc96a02 100644 --- a/kafka-connector-project/kafka-connector-utils/build.gradle +++ b/kafka-connector-project/kafka-connector-utils/build.gradle @@ -34,7 +34,7 @@ tasks.register('consumerJar', Jar) { } } -task distribuiteConsumer(type: Copy) { +task distributeConsumer(type: Copy) { from consumerJar into "$rootDir/$consumerDeployDirName" } diff --git a/kafka-connector-project/kafka-connector/build.gradle b/kafka-connector-project/kafka-connector/build.gradle index ca51512e..e9a8a34d 100644 --- a/kafka-connector-project/kafka-connector/build.gradle +++ b/kafka-connector-project/kafka-connector/build.gradle @@ -64,7 +64,7 @@ distributions { } } -task distribuite(type: Copy) { +task distribute(type: Copy) { dependsOn build from (connectorDistZip) into "$rootDir/$connectorDeployDirName"