You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/07/19 01:38:55 UTC
(grails-intellij-plugin) 07/28: Package LICENSE and NOTICE in the plugin jar
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 fe6b03a49dfeba28f8703f18efea2a95b0c8ed29
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Sat Jul 18 15:29:54 2026 -0400
Package LICENSE and NOTICE in the plugin jar
---
build.gradle.kts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/build.gradle.kts b/build.gradle.kts
index 4525814..915e15f 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -134,6 +134,12 @@ tasks {
systemProperty("idea.home.path", properties("test.idea.home.path"))
}
+ // ASF policy: ship LICENSE and NOTICE inside the plugin jar
+ processResources {
+ from(layout.projectDirectory.file("LICENSE")) { into("META-INF") }
+ from(layout.projectDirectory.file("NOTICE")) { into("META-INF") }
+ }
+
// special handling for /standardDsls/ packaging
withType<PrepareSandboxTask> {
from(layout.projectDirectory.dir("resources/standardDsls")) {