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
* Upgrade to Gradle 9.4
Also replace the eager cross-project task reference to
:libs:agent-sm:agent with Gradle-idiomatic patterns:
- Add a consumable agentDist configuration in the agent
project that publishes the prepareAgent output directory
as an artifact with a Category attribute.
- Add a matching resolvable agent configuration in the
distribution subprojects to consume it via normal
dependency resolution.
- Replace direct task references (project.prepareAgent,
project.jar) with lazy alternatives: tasks.named() for
task providers, lazy GStrings for deferred path
resolution, and closure-based dependsOn.
This removes the need for an evaluationDependsOn call which forced
the agent project to be configured before the distribution
project, violating Gradle best practices around project
isolation and configuration-time coupling.
Signed-off-by: Andrew Ross <andrross@amazon.com>
* Refactor the agent wiring to use configurations
Signed-off-by: Andriy Redko <drreta@gmail.com>
* Use .singleFile and lazy evaluation for agentJar
Signed-off-by: Andrew Ross <andrross@amazon.com>
---------
Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Co-authored-by: Andriy Redko <drreta@gmail.com>
0 commit comments