Skip to content

Commit

Permalink
Fix typo in the 'distribute' gradle task
Browse files Browse the repository at this point in the history
  • Loading branch information
gfinocchiaro committed Jul 30, 2024
1 parent 4b3796a commit 6d8bcf9
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-<version>.zip` bundle under the `kafka-connector-project/deploy` folder.
Expand Down Expand Up @@ -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-<version>.jar` under the `deploy-consumer` folder.
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart-producer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart-producer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart-producer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tasks.register('uberJar', Jar) {
}
}

task distribuite(type: Copy) {
task distribute(type: Copy) {
from uberJar
into "$rootDir/$deployDirName"
}
2 changes: 1 addition & 1 deletion kafka-connector-project/kafka-connector-utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ tasks.register('consumerJar', Jar) {
}
}

task distribuiteConsumer(type: Copy) {
task distributeConsumer(type: Copy) {
from consumerJar
into "$rootDir/$consumerDeployDirName"
}
Expand Down
2 changes: 1 addition & 1 deletion kafka-connector-project/kafka-connector/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ distributions {
}
}

task distribuite(type: Copy) {
task distribute(type: Copy) {
dependsOn build
from (connectorDistZip)
into "$rootDir/$connectorDeployDirName"
Expand Down

0 comments on commit 6d8bcf9

Please sign in to comment.