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

LikeButton/0.2.3 build #6763

Open
jsparidaans opened this issue Dec 30, 2024 · 2 comments
Open

LikeButton/0.2.3 build #6763

jsparidaans opened this issue Dec 30, 2024 · 2 comments

Comments

@jsparidaans
Copy link

Please provide:

Link to build log from https://jitpack.io

https://jitpack.io/com/github/jd-alexander/LikeButton/0.2.3/build.log

Does the project build on your machine with the same commands (e.g. ./gradlew install) ?

Yes

What error are you seeing?


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:dataBindingMergeDependencyArtifactsDevFlitsmeisterDebug'.
> Could not resolve all files for configuration ':app:devFlitsmeisterDebugCompileClasspath'.
   > Failed to transform LikeButton-0.2.3.aar (com.github.jd-alexander:LikeButton:0.2.3) to match attributes {artifactType=android-databinding, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
      > Could not find LikeButton-0.2.3.jar (com.github.jd-alexander:LikeButton:0.2.3).
        Searched in the following locations:
            https://jitpack.io/com/github/jd-alexander/LikeButton/0.2.3/LikeButton-0.2.3.aar
            https://jitpack.io/com/github/jd-alexander/LikeButton/0.2.3/LikeButton-0.2.3.jar

Thank you!

@jsparidaans
Copy link
Author

in the build log there is a different gradle version used than in the LikeButton repo

in the build log :2.2.3
in the repo: 3.0.1

@jsparidaans
Copy link
Author

jsparidaans commented Dec 30, 2024

what seemed to have fixed is for us, is making sure the artifact portion of our dependency is fully lowercase

e.g.
com.github.jd-alexander:LikeButton:0.2.3
com.github.jd-alexander:likebutton:0.2.3

though this was not an issue before, we have had a similar issue with a previous Jitpack dependency and decided then to just directly import the aar

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