Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--scan option overrides Gradle enterprise plugin version from includedBuild #26086

Closed
Tapchicoma opened this issue Aug 11, 2023 · 2 comments
Closed
Assignees
Labels
Milestone

Comments

@Tapchicoma
Copy link

Current Behavior

Kotlin repo adds "com.gradle:gradle-enterprise-gradle-plugin" via includedBuild in build classpath. The version of this plugin (tested on commit) is "3.12.4".

When a developer runs the build with --scan option, Gradle ignores the already added plugin and adds a new one with "3.13.4" version. Which leads to dependency verification error and build configuration failure on ignoring the verification.

Expected Behavior

Using '--scan' considers added into the build Gradle plugins from build script included builds.

Context (optional)

No response

Steps to Reproduce

  • Checkout kotlin.git on the provided commit hash
  • Run ./gradlew clean install --scan

Gradle version

8.2.1

Build scan URL (optional)

https://ge.jetbrains.com/s/lz43qa76t2heo/failure

Your Environment (optional)

No response

@jbartok
Copy link
Member

jbartok commented Aug 15, 2023

Thank you for your interest in Gradle!

This issue needs a decision from the team responsible for that area. They have been informed. Response time may vary.

@jbartok jbartok added 👋 team-triage Issues that need to be triaged by a specific team and removed to-triage labels Aug 15, 2023
@wolfs wolfs removed the 👋 team-triage Issues that need to be triaged by a specific team label Aug 18, 2023
@sorin-florea sorin-florea added this to the 8.4 RC1 milestone Aug 18, 2023
@sorin-florea
Copy link
Member

sorin-florea commented Aug 18, 2023

This is fixed in Gradle 8.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants