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

Gradle intrinsics are reported as null #464

Closed
ZacSweers opened this issue Aug 31, 2021 · 2 comments
Closed

Gradle intrinsics are reported as null #464

ZacSweers opened this issue Aug 31, 2021 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@ZacSweers
Copy link
Contributor

Build scan link
N/A

Plugin version
0.77.0

Gradle version
7.2

(Optional) Android Gradle Plugin (AGP) version
N/A

Describe the bug
In gradle plugin projects, gradle intrinsic deps are shown as null.

plugins {
  `kotlin-dsl`
}

dependencies {
  compileOnly(gradleApi())
}

Results in this advice to add

  api("Gradle Kotlin DSL:null")
  api("Gradle TestKit:null")
  api("Gradle API:null")

To Reproduce
See above

Expected behavior
Probably not worth mentioning in advice?

Additional context

@autonomousapps
Copy link
Owner

autonomousapps commented Aug 31, 2021 via email

@autonomousapps autonomousapps added the bug Something isn't working label Aug 31, 2021
@autonomousapps autonomousapps added this to the 1.0 milestone Aug 31, 2021
@autonomousapps
Copy link
Owner

I wonder if you could provide a reproducer? I'm confused why the plugin would tell you to add TestKit as an api dep. Also, there's special handling for deps declared as compileOnly, so I'm also wondering why that doesn't seem to be working.

Feel free to drop me a line in slack if that's simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants