From 593377946f345e3e8fa0ec04c6d4d858c7edbba0 Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Fri, 13 Sep 2024 03:15:22 +0800 Subject: [PATCH 1/2] Fixes error when creating a Plugin of profile `plugin` Closes gh-589 --- .../org/grails/cli/profile/commands/CreatePluginCommand.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreatePluginCommand.groovy b/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreatePluginCommand.groovy index 5d9cab40d9..191fc2e5ef 100644 --- a/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreatePluginCommand.groovy +++ b/grace-shell/src/main/groovy/org/grails/cli/profile/commands/CreatePluginCommand.groovy @@ -56,7 +56,7 @@ class CreatePluginCommand extends CreateAppCommand { } def pluginProfile = profileInstance.extends.find { Profile parent -> parent.name == 'plugin' } - if (pluginProfile == null) { + if (profileName != 'plugin' && pluginProfile == null) { console.error("No valid plugin profile found for name [$profileName]") return false } From b504ff611d8bf55c4b9b011d86311b607c3fad9e Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Tue, 17 Sep 2024 23:54:02 +0800 Subject: [PATCH 2/2] Upgrade to Apache Ant 1.10.15 Closes gh-591 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 938e040471..acc86f4b74 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -ant = "1.10.14" +ant = "1.10.15" asciidoctorj = "2.5.8" aspectj = "1.9.19" assertj = "3.22.0"