Skip to content

Commit 8195aae

Browse files
committed
chore: add groovy sample to jvm-get-started.md
1 parent 515251e commit 8195aae

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

docs/topics/jvm/jvm-get-started.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,33 @@ To get started, first download and install the latest version of [IntelliJ IDEA]
3636

3737
7. Click **Create**.
3838

39-
> If you chose the Gradle build system, you have in your project a build script file: `build.gradle(.kts)`. It includes
40-
> the `kotlin("jvm")` plugin and dependencies required for your console application. Make sure that you use the latest
39+
> If you chose the Gradle build system, you have in your project a build script file: `build.gradle(.kts)`. It includes
40+
> the `kotlin("jvm")` plugin and dependencies required for your console application. Make sure that you use the latest
4141
> version of the plugin:
4242
>
43+
> <tabs group="build-script">
44+
> <tab title="Kotlin" group-key="kotlin">
45+
>
4346
> ```kotlin
4447
> plugins {
4548
> kotlin("jvm") version "%kotlinVersion%"
4649
> application
4750
> }
4851
> ```
4952
>
53+
> </tab>
54+
> <tab title="Groovy" group-key="groovy">
55+
>
56+
> ```groovy
57+
> plugins {
58+
> id 'org.jetbrains.kotlin.jvm' version '%kotlinVersion%'
59+
> id 'application'
60+
> }
61+
> ```
62+
>
63+
> </tab>
64+
> </tabs>
65+
>
5066
{style="note"}
5167
5268
## Create an application

0 commit comments

Comments
 (0)