Skip to content

Commit

Permalink
UI changes for KT-63421
Browse files Browse the repository at this point in the history
implementing new screenshots and content for UI changes of KT-63421

minor update

minor update

updating v-list for foojay-resolver version

updating v-list for foojay-resolver version

implementing review suggestions

implementing review suggestions - resized and added border to images and added step in a collapsible section

fixed folder structure

fixed folder structure

cropping pictures

cropping pictures

resized image

resized image

implemented suggestions

implemented suggestions

fixed right border of image

fixed right border of image

fixing right side of image

fixing right side of image

adding advanced settings screenshot in new section

adding advanced settings screenshot in new section
  • Loading branch information
daniCsorbaJB committed Dec 5, 2023
1 parent 81776cc commit 6cb0fdf
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 3 deletions.
Binary file modified docs/images/get-started/jvm-new-project.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/gradle/jvm-new-gradle-project.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 15 additions & 1 deletion docs/topics/gradle/get-started-with-jvm-gradle-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,24 @@ To get started, first download and install the latest version of [IntelliJ IDEA]

7. From the **Gradle DSL** list, select **Kotlin**.
8. Select the **Add sample code** checkbox to create a file with a sample `"Hello World!"` application.
9. Click **Create**.

> You can also enable the **Generate code with onboarding tips** option to add some additional useful comments to your
> sample code.
>
{type="tip"}

10. Click **Create**.

You have successfully created a project with Gradle.

#### Specify a Gradle version for your project {initial-collapse-state="collapsed"}

You can explicitly specify a Gradle version for your project under the **Advanced Settings** section, either by using the Gradle Wrapper or a local installation of Gradle:
* **Gradle Wrapper:** From the **Gradle distribution** list, select **Wrapper**. Deselect the **Auto-select** checkbox, and from the **Gradle version** list, select your Gradle version.
* **Local installation:** From the **Gradle distribution** list, select **Local installation**. For **Gradle location**, specify the path of your local Gradle version.

![Advanced settings](jvm-new-gradle-project-advanced.png){width=700}

## Explore the build script

Open the `build.gradle.kts` file. This is the Gradle Kotlin build script, which contains Kotlin-related artifacts and other parts required for the application:
Expand Down
4 changes: 2 additions & 2 deletions docs/topics/gradle/gradle-configure-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ This type of plugin manages which repositories to download a toolchain from. As
```kotlin
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.5.0")
id("org.gradle.toolchains.foojay-resolver-convention") version("%foojayResolver%")
}
```
Expand All @@ -354,7 +354,7 @@ plugins {
```groovy
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.5.0'
id 'org.gradle.toolchains.foojay-resolver-convention' version '%foojayResolver%'
}
```
Expand Down
6 changes: 6 additions & 0 deletions docs/topics/jvm/jvm-get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ To get started, first download and install the latest version of [IntelliJ IDEA]
* If you don't have the necessary JDK on your computer, select **Download JDK**.

7. Enable the **Add sample code** option to create a file with a sample `"Hello World!"` application.

> You can also enable the **Generate code with onboarding tips** option to add some additional useful comments to your
> sample code.
>
{type="tip"}

8. Click **Create**.

> If you chose the Gradle build system, you have in your project a build script file: `build.gradle(.kts)`. It includes
Expand Down
2 changes: 2 additions & 0 deletions docs/v.list
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@

<var name="dateTimeVersion" value="0.4.0" type="string"/>

<var name="foojayResolver" value="0.5.0" type="string"/>

</vars>

0 comments on commit 6cb0fdf

Please sign in to comment.