Skip to content

Clean up test gradleRunner args - #2160

Merged
Goooler merged 3 commits into
mainfrom
g/20260807/test-kit
Aug 7, 2026
Merged

Clean up test gradleRunner args#2160
Goooler merged 3 commits into
mainfrom
g/20260807/test-kit

Conversation

@Goooler

@Goooler Goooler commented Aug 7, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR cleans up the Gradle TestKit helper utilities by removing an indirection around the configured test Gradle version, simplifying gradleRunner argument handling, and tightening warning handling for common runner arguments.

Changes:

  • Inline TEST_GRADLE_VERSION usage (removing the local testGradleVersion alias) in version-gated flags.
  • Add --warning-mode=fail to commonGradleArgs and simplify gradleRunner to pass arguments directly.
  • Simplify assertNoDeprecationWarnings() matching by checking for a broader deprecation substring.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Goooler Goooler changed the title Clean up test kit Clean up test gradleRunner args Aug 7, 2026
@Goooler
Goooler enabled auto-merge (squash) August 7, 2026 09:17
@Goooler
Goooler merged commit f41ba28 into main Aug 7, 2026
7 checks passed
@Goooler
Goooler deleted the g/20260807/test-kit branch August 7, 2026 09:20
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.

2 participants