This is an automated email from the ASF dual-hosted git repository. jdaugherty pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/grails-intellij-plugin.git
commit 92ab9698dfe63c72b86a8e743e1e857ef16d8563 Author: James Daugherty <[email protected]> AuthorDate: Sat Jul 18 21:26:56 2026 -0400 Name content module jars after their module names --- copyright/build.gradle.kts | 6 ++++++ coverage/build.gradle.kts | 6 ++++++ hibernate/build.gradle.kts | 6 ++++++ i18n/build.gradle.kts | 6 ++++++ langInjection/build.gradle.kts | 6 ++++++ maven/build.gradle.kts | 7 +++++++ 6 files changed, 37 insertions(+) diff --git a/copyright/build.gradle.kts b/copyright/build.gradle.kts index 38f9895..3700f32 100644 --- a/copyright/build.gradle.kts +++ b/copyright/build.gradle.kts @@ -56,3 +56,9 @@ tasks { } } + +// 2026.2 resolves content-module descriptors from lib/modules/<module-name>.jar, +// so the composed jar must be named after the content module, not the project +tasks.named<org.jetbrains.intellij.platform.gradle.tasks.ComposedJarTask>("composedJar") { + archiveBaseName = "intellij.groovy.grails.copyright" +} diff --git a/coverage/build.gradle.kts b/coverage/build.gradle.kts index fc80521..572a710 100644 --- a/coverage/build.gradle.kts +++ b/coverage/build.gradle.kts @@ -61,3 +61,9 @@ tasks { } } + +// 2026.2 resolves content-module descriptors from lib/modules/<module-name>.jar, +// so the composed jar must be named after the content module, not the project +tasks.named<org.jetbrains.intellij.platform.gradle.tasks.ComposedJarTask>("composedJar") { + archiveBaseName = "intellij.groovy.grails.coverage" +} diff --git a/hibernate/build.gradle.kts b/hibernate/build.gradle.kts index 93f78ed..6faff4a 100644 --- a/hibernate/build.gradle.kts +++ b/hibernate/build.gradle.kts @@ -53,3 +53,9 @@ tasks { } } + +// 2026.2 resolves content-module descriptors from lib/modules/<module-name>.jar, +// so the composed jar must be named after the content module, not the project +tasks.named<org.jetbrains.intellij.platform.gradle.tasks.ComposedJarTask>("composedJar") { + archiveBaseName = "intellij.groovy.grails.hibernate" +} diff --git a/i18n/build.gradle.kts b/i18n/build.gradle.kts index a6d878c..d134dac 100644 --- a/i18n/build.gradle.kts +++ b/i18n/build.gradle.kts @@ -62,3 +62,9 @@ tasks { } } + +// 2026.2 resolves content-module descriptors from lib/modules/<module-name>.jar, +// so the composed jar must be named after the content module, not the project +tasks.named<org.jetbrains.intellij.platform.gradle.tasks.ComposedJarTask>("composedJar") { + archiveBaseName = "intellij.groovy.grails.i18n" +} diff --git a/langInjection/build.gradle.kts b/langInjection/build.gradle.kts index 41bd828..e74c2d1 100644 --- a/langInjection/build.gradle.kts +++ b/langInjection/build.gradle.kts @@ -47,3 +47,9 @@ tasks { } } + +// 2026.2 resolves content-module descriptors from lib/modules/<module-name>.jar, +// so the composed jar must be named after the content module, not the project +tasks.named<org.jetbrains.intellij.platform.gradle.tasks.ComposedJarTask>("composedJar") { + archiveBaseName = "intellij.groovy.grails.langInjection" +} diff --git a/maven/build.gradle.kts b/maven/build.gradle.kts index 87a97f8..4b47727 100644 --- a/maven/build.gradle.kts +++ b/maven/build.gradle.kts @@ -63,3 +63,10 @@ tasks { } } + + +// 2026.2 resolves content-module descriptors from lib/modules/<module-name>.jar, +// so the composed jar must be named after the content module, not the project +tasks.named<org.jetbrains.intellij.platform.gradle.tasks.ComposedJarTask>("composedJar") { + archiveBaseName = "intellij.groovy.grails.maven" +}
