less than 1 minute read

In this page you can find extra information about the Nyx Gradle Plugin internals that may be useful for troubleshooting.

See the Quick Start or Using the Gradle plugin for regular usage instructions.

Performance improvements

Deferred task creation

According to configuration avoidance the plugin registers the tasks to the gradle project instead of creating them. This means that Gradle will only instantiate them when needed to improve the overall performances and avoid unnecessary tasks to run when not needed.

For more see the register and create methods on the TaskContainer class.

Task dependencies

Nyx tasks have chained dependencies among each others. However, these dependencies are implemented within the Nyx core, not at the Gradle task level. This makes no difference from the user’s point of view but it may be helpful to know if you’re playing with Gradle task dependencies.