Skip to content

gradleApi() IDE indexing is broken with Gradle 6.2-rc-2 #12198

@ZacSweers

Description

@ZacSweers

Expected Behavior

I would expect Gradle APIs to continue showing up in the IDE

Current Behavior

They no longer index when updating to Gradle 6.2-rc-2

Context

It's an android gradle plugin, written in kotlin and using gradle kotlin dsl. It works fine from command line, but IDE is broken. If I switch branches back to gradle 6.1.1, it works fine again.

image

Steps to Reproduce

Can repro on this branch with Android Studio 3.5.3: https://github.com/slackhq/keeper/tree/z/gradle62rc2

Open InferAndroidTestKeepRules.kt and observe that gradle APIs are all red in the IDE.

Your Environment

Build scan URL: https://scans.gradle.com/s/mn2uemfpyv5yu

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:bugThis doesn't work as expected

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions