From 250cdd7b06f68adcd5549418003857e340b4d008 Mon Sep 17 00:00:00 2001 From: Klaus Happacher Date: Thu, 28 Nov 2024 15:10:53 +0100 Subject: [PATCH] fix gradle task names --- src/main/kotlin/Main.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt index 32efcc5..aedf77b 100644 --- a/src/main/kotlin/Main.kt +++ b/src/main/kotlin/Main.kt @@ -95,7 +95,7 @@ class Plugin : org.gradle.api.Plugin { override fun apply(project: Project) { val configBuilder = project.extensions.create("pgen", Config.Builder::class.java) - project.task("pgen generate") { task -> + project.task("pgenGenerate") { task -> task.group = TASK_GROUP task.doLast { val config = configBuilder.build() @@ -103,7 +103,7 @@ class Plugin : org.gradle.api.Plugin { } } - project.task("pgen generate spec") { task -> + project.task("pgenGenerateSpec") { task -> task.group = TASK_GROUP task.doLast { val config = configBuilder.build() @@ -111,7 +111,7 @@ class Plugin : org.gradle.api.Plugin { } } - project.task("pgen generate code") { task -> + project.task("pgenGenerateCode") { task -> task.group = TASK_GROUP task.doLast { val config = configBuilder.build()