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
The following commit(s) were added to refs/heads/main by this push:
new 719de11 Document ASF license header requirement for new files in
AGENTS.md
719de11 is described below
commit 719de11aae13d6713985f628fac9faed39194820
Author: James Daugherty <[email protected]>
AuthorDate: Sun Jul 19 13:59:59 2026 -0400
Document ASF license header requirement for new files in AGENTS.md
New source files must carry the ASF header from the repo-root HEADER file,
not
the inherited 'Copyright JetBrains s.r.o. and contributors' header that
appears
on migrated files.
---
AGENTS.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/AGENTS.md b/AGENTS.md
index d73e04f..3a7c44f 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -52,6 +52,11 @@ limitations under the License.
with the new behavior. Run all affected tests and ensure they pass before
committing.
4. **Apache license header required** on all new source files (enforced by
`./gradlew rat`).
Every RAT exclude in `build.gradle.kts` must carry an inline justification.
+ - **New files use the ASF header** (verbatim from the `HEADER` file:
*"Licensed to the
+ Apache Software Foundation (ASF) under one or more contributor license
agreements…"*),
+ rendered as a `/* … */` block for Java/Kotlin or `<!-- … -->` for XML.
**Do NOT** copy
+ the `Copyright 2000-2026 JetBrains s.r.o. and contributors` header — that
appears only on
+ files inherited through the migration; new work is ASF-owned.
5. **Test-fixture JDK conventions (2026.2+)** — Mock JDK 1.7 is no longer
shipped:
- **Light fixtures**: `GrailsTestCase` pins
`DefaultLightProjectDescriptor(IdeaTestUtil::getMockJdk11)`
via `getTestJdk()`. Override `getTestJdk()` to a real JDK only when the
test needs