notes-android icon indicating copy to clipboard operation
notes-android copied to clipboard

Dependency verification fails for "Android-SingleSignOn-1.3.0.module"

Open 4ch1m opened this issue 1 year ago • 0 comments

This issue respects the following points:

Describe the bug

Hi there,

when trying to build the app from scratch (./gradlew build) I'm getting this error:

 Dependency verification failed for configuration ':app:devDebugCompileClasspath':
    - On artifact Android-SingleSignOn-1.3.0.module (com.github.nextcloud:Android-SingleSignOn:1.3.0) multiple problems reported:
        - in repository 'maven': artifact is not signed
        - in repository 'maven': expected a 'sha256' checksum of 'b36d6dc843a8881603fd3019a6bdacecb97e46028e984634566c00319519b436' but was '73dbcbfa90a0be5988fab0de8a0850eafdac005e781f91f4307f0035e1644aa3'

By adjusting this block ...

https://github.com/nextcloud/notes-android/blob/2d87223b491dc0a27f28b0f0b70191cb755032d1/gradle/verification-metadata.xml#L3592-L3594

... accordingly ...

<artifact name="Android-SingleSignOn-1.3.0.module">
  <sha256 value="73dbcbfa90a0be5988fab0de8a0850eafdac005e781f91f4307f0035e1644aa3" origin="Generated by Gradle" reason="Artifact is not signed"/>
</artifact>

... the build finishes successfully.

I wonder why there's a discrepancy regarding the version-controlled checksum versus the actual one.

Thanks!

Expected behavior

No response

Notes Android version

n/a

Notes server version

n/a

Nextcloud Android version

n/a

Nextcloud version

n/a

Device

n/a

Android Version

n/a

App Store

  • [ ] Google Play Store
  • [ ] F-Droid
  • [ ] Huawei App Gallery

Stacktrace

No response

4ch1m avatar Aug 30 '24 13:08 4ch1m