Skip to content

NO-JIRA: Use maven for IDE scripting - #31

Open
Skylli202 wants to merge 7 commits into
masterfrom
no-jira-use-maven-for-ide-scripting
Open

NO-JIRA: Use maven for IDE scripting#31
Skylli202 wants to merge 7 commits into
masterfrom
no-jira-use-maven-for-ide-scripting

Conversation

@Skylli202

Copy link
Copy Markdown

Motivation

The UsingAnIdeToWriteScripts example was based on an outdated Gradle configuration and Flex SDK version. This made the project harder to import into IntelliJ IDEA and no longer reflected the Java and Groovy environment used by JAE (flex-jobasyncexecutor-service) to execute Flex scripts.

Changes

  • Migrates UsingAnIdeToWriteScripts from Gradle to Maven.
  • Updates the example to Java 21, matching the JAE build and runtime.
  • Updates flex-sdk-external to <new SDK version>.
  • Uses the Groovy version published transitively by the Flex SDK, which is aligned with JAE’s parent-managed runtime.
  • Replaces the Spock test with JUnit 5 and Mockito while keeping the test written in Groovy.
  • Registers Groovy source directories for Maven and IntelliJ IDEA.
  • Updates the documentation with IntelliJ setup, Maven commands and Nexus mirror configuration.
  • Leaves the separate ExternalScripts Gradle example unchanged.

The result is a simpler IDE-ready example that provides Flex SDK code completion and tests scripts against dependencies compatible with the environment in which JAE executes them.

@Skylli202
Skylli202 marked this pull request as ready for review August 11, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant