You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gradle task run when generating a project with iOS MOE enabled seems to run with the daemon being enabled (probably because that is the default). I think the daemon isn't necessary in most cases because only one seems to be done.
Running Gradle tasks:
./gradlew ios-moe:moeUpdateXcodeSettings ios-moe:copyNatives
Welcome to Gradle 8.3!
Here are the highlights of this release:
- Faster Java compilation
- Reduced memory usage
- Support for running on Java 20
For more details see https://docs.gradle.org/8.3/release-notes.html
Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
The text was updated successfully, but these errors were encountered:
SonicGDX
changed the title
Potentially Unnecessary Gradle Daemon Created
Disable Gradle Daemon for Gradle Tasks Performed in Project Generation
Sep 10, 2023
The daemon stays running after gdx-liftoff closes, if I'm understanding it correctly, so it should probably still be operational when you open the project and build it. I think if Gradle can locate and use a compatible daemon, it speeds up things like the initial project import (but not the lengthy step IDEA takes to index all the files) and later Gradle tasks you run. If the Gradle daemon wasn't started by Liftoff, then the one task Liftoff runs might be faster, but as soon as you open the project it just has to create the daemon for the first time then.
That said, I am very far from being an expert in Gradle, so if anyone can verify my guesses here, that would be great!
The daemon stays running after gdx-liftoff closes, if I'm understanding it correctly, so it should probably still be operational when you open the project and build it. I think if Gradle can locate and use a compatible daemon, it speeds up things like the initial project import (but not the lengthy step IDEA takes to index all the files) and later Gradle tasks you run. If the Gradle daemon wasn't started by Liftoff, then the one task Liftoff runs might be faster, but as soon as you open the project it just has to create the daemon for the first time then.
That said, I am very far from being an expert in Gradle, so if anyone can verify my guesses here, that would be great!
That's true. I think whether the daemon can be reused depends on if the JDK/Java version that runs Gradle is the same
The gradle task run when generating a project with iOS MOE enabled seems to run with the daemon being enabled (probably because that is the default). I think the daemon isn't necessary in most cases because only one seems to be done.
The text was updated successfully, but these errors were encountered: