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

Empty group in Gradle Metadata #697

Open
Jacks0N23 opened this issue Apr 8, 2021 · 1 comment
Open

Empty group in Gradle Metadata #697

Jacks0N23 opened this issue Apr 8, 2021 · 1 comment

Comments

@Jacks0N23
Copy link

What happened?

Here is part of one of my .module files

"variants": [
    {
      "name": "releaseApiPublication",
      "attributes": {
        "org.gradle.category": "library",
        "org.gradle.dependency.bundling": "external",
        "org.gradle.libraryelements": "aar",
        "org.gradle.usage": "java-api"
      },
      "dependencies": [
        {
          "group": "",
          "module": "675f1a80b1e84a10",
          "version": {
            "requires": "unspecified"
          },
          "excludes": [
            {
              "group": "org.hamcrest",
              "module": "hamcrest-core"
            },
            {
              "group": "org.hamcrest",
              "module": "hamcrest-integration"
            },
            {
              "group": "org.hamcrest",
              "module": "hamcrest-library"
            }
          ],
          "attributes": {
            "org.gradle.usage": "consistent-versions-usage"
          },
          "requestedCapabilities": [
            {
              "group": "gcv",
              "name": "versions-props",
              "version": "0"
            }
          ]
        },

As you can see first group is empty and when I try to use this lib in another project it fails, because gradle cannot parse this .module file.
It started when I migrate to GCV plugin

Could I just delete first group? Could you help me how to do it?

You told that it could be because of

depending on an internal project that's unconfigured
could it be inludedBuild module?

What did you want to happen?

No dependencies with empty group

@Jacks0N23
Copy link
Author

Seems like it's happen only for android modules, java modules looks fine

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

No branches or pull requests

1 participant