Repository: quarkusio/quarkus
Issue: Quarkus Kotlin extension not added in Bootstrap Kotlin+Gradle Project

**Describe the bug**
Quarkus Kotlin extension is not added in dependencies Bootstrap Kotlin+Gradle Project

**Expected behavior**
It should be added to to `dependencies` block

**Actual behavior**
It is not added to to `dependencies` block


**To Reproduce**
Steps to reproduce the behavior:
- Bootstrap kotlin+gradle project
```
mvn io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:create \\
	-DprojectGroupId=org.acme \\
	-DprojectArtifactId=kotlin-test-gradle \\
	-DclassName="org.acme.fruitStore.FruitResource" \\
	-Dpath="/fruits" \\
	-DplatformArtifactId=quarkus-bom \\
	-Dextensions="kotlin,resteasy-jsonb" \\
	-DbuildTool=gradle
```


**Environment (please complete the following information):**
 - Build tool : Gradle 6.1.1



Changed files:
devtools/maven/src/main/java/io/quarkus/maven/CreateProjectMojo.java
integration-tests/maven/src/test/java/io/quarkus/maven/it/CreateProjectMojoIT.java

diff --git a/devtools/maven/src/main/java/io/quarkus/maven/CreateProjectMojo.java b/devtools/maven/src/main/java/io/quarkus/maven/CreateProjectMojo.java
index caf1fab6a3b..df61b6767de 100644
--- a/devtools/maven/src/main/java/io/quarkus/maven/CreateProjectMojo.java
+++ b/devtools/maven/src/main/java/io/quarkus/maven/CreateProjectMojo.java
@@ -214,7 +214,8 @@ public void execute() throws MojoExecutionException {
             File createdDependenciesBuildFile = new File(projectRoot, buildToolEnum.getDependenciesFile());
             File buildFile = new File(createdDependenciesBuildFile.getAbsolutePath());
             if (success) {
-                success = new AddExtensions(projectWriter, platform).extensions(extensions).execute().isSuccess();
+                success = new AddExtensions(projectWriter, buildToolEnum, platform).extensions(extensions).execute()
+                        .isSuccess();
             }
             if (BuildTool.MAVEN.equals(buildToolEnum)) {
                 createMavenWrapper(createdDependenciesBuildFile, ToolsUtils.readQuarkusProperties(platform));
diff --git a/integration-tests/maven/src/test/java/io/quarkus/maven/it/CreateProjectMojoIT.java b/integration-tests/maven/src/test/java/io/quarkus/maven/it/CreateProjectMojoIT.java
index 2fefe7f6247..5cb2bc5ac6a 100644
--- a/integration-tests/maven/src/test/java/io/quarkus/maven/it/CreateProjectMojoIT.java
+++ b/integration-tests/maven/src/test/java/io/quarkus/maven/it/CreateProjectMojoIT.java
@@ -207,6 +207,32 @@ public void testProjectGenerationFromScratchWithExtensions() throws Exception {
                         && d.getVersion() == null)).isTrue();
     }
 
+    @Test
+    public void testGradleProjectGenerationFromScratchWithExtensions() throws Exception {
+        testDir = initEmptyProject("projects/gradle-project-generation-with-extensions");
+        assertThat(testDir).isDirectory();
+        invoker = initInvoker(testDir);
+
+        Properties properties = new Properties();
+        properties.put("projectGroupId", "org.acme");
+        properties.put("projectArtifactId", "acme");
+        properties.put("className", "org.acme.MyResource");
+        properties.put("extensions", "kotlin,jackson");
+        properties.put("buildTool", "gradle");
+        setup(properties);
+
+        // As the directory is not empty (log) navigate to the artifactID directory
+        testDir = new File(testDir, "acme");
+
+        assertThat(new File(testDir, "build.gradle")).isFile();
+        assertThat(new File(testDir, "src/main/kotlin")).isDirectory();
+
+        check(new File(testDir, "src/main/kotlin/org/acme/MyResource.kt"), "package org.acme");
+
+        assertThat(FileUtils.readFileToString(new File(testDir, "build.gradle"), "UTF-8"))
+                .contains("quarkus-kotlin", "quarkus-jackson").doesNotContain("missing");
+    }
+
     @Test
     public void testProjectGenerationFromScratchWithCustomDependencies() throws Exception {
         testDir = initEmptyProject("projects/project-generation-with-resource-and-custom-deps");