Possible fix #2765: Add task to download package-list file from java as element-list by andrepaschoal · Pull Request #2766 · mockito/mockito (original) (raw)

@andrepaschoal

I think these changes could a fix, or at least part of, for the issue #2765.

Checklist

@andrepaschoal

…/api/package-list inside build dir as javase-6-docs/element-list, move javase/6/docs from links to linksOffline

@andrepaschoal andrepaschoal changed the titleissue-2765: add de.undercouch.download plugin, download javase/6/docs… Possible fix #2765: Add task to download package-list file from java as element-list

Oct 16, 2022

@andrepaschoal

@andrepaschoal

Per this Java 8 build is going after package-list... let me do something very dumb and hava both element-list and package-list in that dir...

@andrepaschoal

@andrepaschoal

@codecov-commenter

Codecov Report

Base: 86.18% // Head: 86.18% // No change to project coverage 👍

Coverage data is based on head (129afa4) compared to base (0a9aa26).
Patch has no changes to coverable lines.

Additional details and impacted files

@@ Coverage Diff @@ ## main #2766 +/- ##

Coverage 86.18% 86.18%
Complexity 2831 2831

Files 320 320
Lines 8583 8583
Branches 1058 1058

Hits 7397 7397
Misses 905 905
Partials 281 281

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@andrepaschoal

TimvdLippe

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, glad that works! A couple of nits and let's make sure the artifact is verified with a shasum to prevent malicious content to be downloaded.

@andrepaschoal

TimvdLippe

@andrepaschoal

…/java-8-docs dir, replace download tasks by a copy folder one

TimvdLippe

TimvdLippe

@andrepaschoal

… directly to gradle/mockito-core/java-8-docs

andrepaschoal

TimvdLippe

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The smallest fixes are most of the times the best ones 👍 Thanks for the work! Greatly appreciated 😄

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})