Skip to content

Update build.gradle.kts#978

Open
hfhbd wants to merge 1 commit into
mainfrom
hfhbd-patch-2
Open

Update build.gradle.kts#978
hfhbd wants to merge 1 commit into
mainfrom
hfhbd-patch-2

Conversation

@hfhbd

@hfhbd hfhbd commented Jan 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 5, 2026 23:33

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 modifies the Gradle plugin configuration by changing the API version attribute declaration from apiElements to runtimeElements and simplifying the object reference.

Key Changes:

  • Switched configuration from apiElements to runtimeElements
  • Removed objects. prefix from named() method call

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

Comment on lines +9 to 16
configurations.runtimeElements {
attributes {
attribute(
GradlePluginApiVersion.GRADLE_PLUGIN_API_VERSION_ATTRIBUTE,
objects.named(GradleVersion.version("9.4.0").version)
named(GradleVersion.version("9.4.0").version)
)
}
}

Copilot AI Jan 5, 2026

Copy link

Choose a reason for hiding this comment

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

Changing from apiElements to runtimeElements alters when this Gradle API version constraint applies. The apiElements configuration affects compile-time dependencies for consumers, while runtimeElements only affects runtime. This change may allow consumers to compile against incompatible Gradle versions. Verify this change aligns with the plugin's compatibility requirements.

Copilot uses AI. Check for mistakes.
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