On Wed, 24 Mar 2021 19:50:11 GMT, John Neffenger <jgn...@openjdk.org> wrote:

> Are all of them actually needed?

Just to follow up on that question, all of them are in fact downloaded during 
the build, at least. I removed the Gradle directory `$HOME/.gradle` and ran the 
build as follows. Then I compared the list of downloaded artifacts with the 
ones listed in the dependency verification file.

$ rm -r $HOME/.gradle
$ bash gradlew sdk jmods javadoc apps test -x :web:test
  ...
$ find ~/.gradle/caches/modules-2 ( -name "*.jar" -o -name "*.pom" ) \
  -exec basename {} ; | sort > downloaded.log
$ grep '<artifact' gradle/verification-metadata.xml | sed 
's/.*name="(.*)">/\1/' \
  | sort > verified.log
$ diff downloaded.log verified.log 
31a32
> org.eclipse.swt.cocoa.macosx.x86_64_3.105.3.v20170228-0512-.jar
32a34
> org.eclipse.swt.win32.win32.x86_64_3.105.3.v20170228-0512-.jar

A total of 36 artifacts (14 JAR files and 22 POM files) are downloaded during 
the build. The SWT libraries for macOS and Windows were not downloaded because 
I ran the build on Linux.

-------------

PR: https://git.openjdk.java.net/jfx/pull/437

Reply via email to