Derive Eclipse classpath project name from Gradle project name #7

Merged
NotAlexNoyle merged 1 commits from codex/update-eclipse-classpath-plugin-configuration into main 2026-03-09 10:40:54 -04:00
NotAlexNoyle commented 2026-03-09 10:40:43 -04:00 (Migrated from github.com)

Motivation

  • Make eclipse.gradle.kts reusable as a drop-in by deriving the Eclipse project/classpath name from the Gradle rootProject.name instead of hardcoding Template-OG-Plugin.

Description

  • Replace the hard-coded project name with a dynamic value by setting eclipse.project { name = "${rootProject.name}-Plugin" } in eclipse.gradle.kts, with no other functional changes.

Testing

  • Ran ./gradlew -q help to exercise Gradle script loading, which failed due to an environment/bootstrap/tooling issue (25.0.1) unrelated to this single-line change.

Codex Task

### Motivation - Make `eclipse.gradle.kts` reusable as a drop-in by deriving the Eclipse project/classpath name from the Gradle `rootProject.name` instead of hardcoding `Template-OG-Plugin`. ### Description - Replace the hard-coded project name with a dynamic value by setting `eclipse.project { name = "${rootProject.name}-Plugin" }` in `eclipse.gradle.kts`, with no other functional changes. ### Testing - Ran `./gradlew -q help` to exercise Gradle script loading, which failed due to an environment/bootstrap/tooling issue (`25.0.1`) unrelated to this single-line change. ------ [Codex Task](https://chatgpt.com/codex/tasks/task_e_69aedb72a4e0832fab487af69112f472)
Sign in to join this conversation.