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

Could not find glide-parent:glide:unspecified #4908

Closed
jboylee opened this issue Sep 29, 2022 · 1 comment · Fixed by #4909
Closed

Could not find glide-parent:glide:unspecified #4908

jboylee opened this issue Sep 29, 2022 · 1 comment · Fixed by #4909
Labels

Comments

@jboylee
Copy link

jboylee commented Sep 29, 2022

We are testing ksp.

id("com.google.devtools.ksp") version "1.7.10-1.0.6"
..
implementation("com.github.bumptech.glide:glide:4.14.0")
ksp("com.github.bumptech.glide:ksp:4.14.0")

I met the below exception.

Execution failed for task ':dialer:kspDebugKotlin'.
> Error while evaluating property 'filteredArgumentsMap' of task ':dialer:kspDebugKotlin'
   > Failed to query the value of task ':dialer:kspDebugKotlin' property 'options'.
      > Could not resolve all files for configuration ':dialer:kspDebugKotlinProcessorClasspath'.
         > Could not find glide-parent:glide:unspecified.
           Searched in the following locations:
             - https://dl.google.com/dl/android/maven2/glide-parent/glide/unspecified/glide-unspecified.pom
             - https://repo.maven.apache.org/maven2/glide-parent/glide/unspecified/glide-unspecified.pom
           Required by:
               project :dialer > com.github.bumptech.glide:ksp:4.14.0

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

So we handled it like below and it seems to be fine. Is that right?

id("com.google.devtools.ksp") version "1.7.10-1.0.6"
..
implementation("com.github.bumptech.glide:glide:4.14.0")
ksp("com.github.bumptech.glide:ksp:4.14.0") {
    exclude(group="glide-parent")
}
@sjudd sjudd added the bug label Sep 29, 2022
@sjudd
Copy link
Collaborator

sjudd commented Sep 29, 2022

Thanks for reporting this! I'll try and do a dot release to fix it.

sjudd added a commit to sjudd/glide that referenced this issue Sep 29, 2022
We don't actually require this dependency to build and it produces a bad
dependency on the pom file.

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

Successfully merging a pull request may close this issue.

2 participants