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

StackOverflowError when using Gradle module replacement rules #451

Open
francescocervone opened this issue Mar 11, 2024 · 0 comments
Open

Comments

@francescocervone
Copy link
Contributor

We recently added a module replacement rule to address an issue with Guava and Listenablefuture caused by the latest stable Android Gradle Plugin 8.3.

Basically we added this to our root build.gradle file:

allprojects {
    dependencies {
        modules {
            module("com.google.guava:listenablefuture") {
                replacedBy("com.google.guava:guava")
            }
        }
    }
}

When we launch license[Variant]Report, the task fails with a StackOverflowError.
I'm not sure if this is a bug of this plugin or Gradle.

Here is the stacktrace

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