Skip to content

Commit 5cceb95

Browse files
Fix vale errors and account for AI language review suggestions
1 parent 7612bf7 commit 5cceb95

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

articles/flow/configuration/gradle.adoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ For information about using Gradle, see the link:https://docs.gradle.org/current
2121

2222
.Requirements
2323
[NOTE]
24-
The Vaadin Gradle plugin requires Java SDK 17 or later, and Gradle 8.5 or later.
24+
The Vaadin Gradle plugin requires Java SDK 17 or later, Gradle 8.5 or later, and Node / npm (gets automatically installed).
2525
If you plan to use Vaadin's Gradle-based starter projects, there's no need to install Gradle on your machine. A Gradle Wrapper script is included in starter projects. It manages locally the download and execution of Gradle for your project. For more information on using Gradle Wrapper, see the https://docs.gradle.org/current/userguide/gradle_wrapper.html[Official Gradle Documentation].
2626

2727

@@ -55,10 +55,10 @@ repositories {
5555

5656
The example above shows configured repositories in the following order:
5757

58-
* *maven central* (required) - contains Vaadin and a lot of other public libraries
59-
* repository for *Vaadin addons*
58+
* *Maven central* (required) - contains Vaadin and a lot of other public libraries
59+
* repository for *Vaadin add-ons*
6060
* repository for *Vaadin pre-releases* - not recommended for production environments
61-
* *Gradle plugin repository* - only necessary when using Gradle community plugins, which are not available through maven central
61+
* *Gradle plugin repository* - only necessary when using Gradle community plugins, which are not available through Maven central
6262

6363
You can use any Gradle repository definitions in the block. See https://docs.gradle.org/current/userguide/declaring_repositories.html[Declaring Repositories] in the Gradle documentation for more information.
6464

@@ -194,11 +194,9 @@ dependencies {
194194

195195

196196
[[pre-release]]
197-
== Using Gradle Plugin Snapshot Versions
197+
== Using Gradle plugin snapshot versions
198198

199-
A snapshot version of the plugin is pushed to the pre-release repository. This section is about trying the pre-release and snapshot versions of the Vaadin Gradle plugin itself, not Vaadin.
200-
201-
To use the pre-release plugin, add the `vaadin-prereleases` repository to the project [filename]`settings.gradle` file. This file is mostly used within multi-module projects, but it's useful for other configurations. Thus, if you don't already have it in your project, create a plain text file called [filename]`settings.gradle` next to your [filename]`build.gradle` file, which is normally in the project root folder.
199+
To use the pre-release version of the Vaadin Gradle plugin, add the `vaadin-prereleases` repository to the project [filename]`settings.gradle` file. This file is mostly used within multi-module projects, but it's useful for other configurations. Thus, if you don't already have it in your project, create a plain text file called [filename]`settings.gradle` next to your [filename]`build.gradle` file, which is normally in the project root folder.
202200

203201
.Plugin repository in the `settings.gradle` file
204202
----
@@ -234,6 +232,9 @@ apply plugin: 'com.vaadin'
234232
[NOTE]
235233
Remove the part `id 'com.vaadin' version 'xyz'` from the `plugins` block. The plugin is applied by specifying `apply plugin: 'com.vaadin'` -- as demonstrated in the preceding file extract.
236234

235+
.Use Stable Release Versions
236+
[NOTE]
237+
To avoid any inconsistencies, don't use pre-release versions in your production environment, especially snapshots. Vaadin recommends using the latest stable version.
237238

238239
[[all-options]]
239240
== Plugin Configuration Options

articles/getting-started/start/alternatives/gradle.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Gradle is a popular build tool for Java, Groovy, Kotlin, and other projects. It'
1717

1818
This page describes how to create, compile, and run a Vaadin application using the Vaadin Gradle plugin. The Gretty plugin is used to run an application in an embedded web server.
1919

20-
See <<{articles}/flow/configuration/gradle#,Gradle Configuration Properties>> page for various options in configuring Vaadin Gradle Plugin.
20+
See <<{articles}/flow/configuration/gradle#,Gradle Configuration Properties>> page for various options in configuring Vaadin Gradle plugin.
2121

2222
For information about using Gradle, see the link:https://docs.gradle.org/current/userguide/userguide.html[Gradle User Manual].
2323

2424
.Requirements
2525
[NOTE]
26-
The Vaadin Gradle plugin requires Java SDK 17 or later, and Gradle 8.5 or later.
26+
The Vaadin Gradle plugin requires Java SDK 17 or later, Gradle 8.5 or later, and Node / npm (gets automatically installed).
2727
If you plan to use Vaadin's Gradle-based starter projects, there's no need to install Gradle on your machine. A Gradle Wrapper script is included in starter projects. It manages locally the download and execution of Gradle for your project. For more information on using Gradle Wrapper, see the https://docs.gradle.org/current/userguide/gradle_wrapper.html[Official Gradle Documentation].
2828

2929

0 commit comments

Comments
 (0)