square / subzero

Block's Bitcoin Cold Storage solution.
Apache License 2.0
685 stars 96 forks source link

[java] make gradle dependency verification work with IntelliJ #668

Closed ivmaykov closed 1 year ago

ivmaykov commented 1 year ago

There are 2 parts to this:

  1. Disable dependency verification of sources and javadoc jars, per https://docs.gradle.org/8.1.1/userguide/dependency_verification.html#sec:skipping-javadocs
  2. Manually add some artifacts (groovy-*-3.0.15.pom and gradle-8.1.1-src.zip) to verification-metadata.xml.
andozw commented 1 year ago

Is this something that we will have to update on an ongoing basis? If so, I wouldn't know what to do... so perhaps we could add a check list somewhere?

ivmaykov commented 1 year ago

@andozw it was kind of a pain in the ass for sure. I think it would only need to be repeated if we change the gradle version, which is pinned so it won't change unexpectedly. Can we merge this now and follow up later? The follow up would be to either figure out how to automate this, or if that doesn't work then document the manual steps. Until this is merged, it's very annoying to develop the project with IntelliJ because you get build errors constantly.