Skip to content

Include ios and android example modules only when their tasks are executed#2825

Merged
riccardobl merged 5 commits into
jMonkeyEngine:masterfrom
riccardobl:ciinstability
May 28, 2026
Merged

Include ios and android example modules only when their tasks are executed#2825
riccardobl merged 5 commits into
jMonkeyEngine:masterfrom
riccardobl:ciinstability

Conversation

@riccardobl
Copy link
Copy Markdown
Member

hopefully fix some ci instability

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request modifies settings.gradle to conditionally include the jme3-ios-examples project only when building on macOS. The feedback suggests simplifying the OS detection logic by removing the redundant default value for the os.name system property, as it is guaranteed to be populated by any standard JVM.

Comment thread settings.gradle Outdated
riccardobl and others added 2 commits May 27, 2026 22:51
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@riccardobl riccardobl changed the title include ios examples only on macos Include ios and android example modules only when their tasks are called May 27, 2026
@riccardobl
Copy link
Copy Markdown
Member Author

/gemini review

@riccardobl riccardobl changed the title Include ios and android example modules only when their tasks are called Include ios and android example modules only when their tasks are executed May 27, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces tasks to run Android and iOS examples and conditionally includes the respective subprojects (jme3-android-examples and jme3-ios-examples) in settings.gradle only when their execution is requested. The reviewer noted that the checks for requested tasks do not account for subproject task paths specified without a leading colon (e.g., jme3-android-examples:assembleDebug or jme3-ios-examples:runIosExamples), which could cause build failures, and provided code suggestions to resolve this.

Comment thread settings.gradle
Comment thread settings.gradle
riccardobl and others added 2 commits May 27, 2026 23:17
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@riccardobl riccardobl merged commit aa8427c into jMonkeyEngine:master May 28, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant