Commit graph

12 commits

Author SHA1 Message Date
Jonathan Leitschuh
9f4cacc32b
Merge branch 'master' into feat/JLL/homoglyph_detector
* master:
  Add :
  Build
  Rework output
  Let finding wrapper jars be predictable
  Ignore IDEA files
2020-01-15 11:59:08 -05:00
Jonathan Leitschuh
ae0da6528c
Add a homoglyph detector for gradle-wrapper.jar files 2020-01-13 13:00:16 -05:00
Paul Merlin
6c65025c7d Add :
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-13 10:29:20 +01:00
Paul Merlin
33646cf935 Rework output
Always display all known and unknown found wrapper jars
alongside their checksum.

The display string building was pushed down from the Github Action main
function, so it's easier to reuse and test it.

Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-11 15:35:09 +01:00
Paul Merlin
7c1b6a0c36 Refine min-wrapper-count error message
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-10 17:59:23 +01:00
Paul Merlin
9393a6ed98 Introduce min-wrapper-count input
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-10 17:54:22 +01:00
Paul Merlin
89c35dd18b Better reporting of invalid wrapper jars
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-06 13:50:19 +01:00
Paul Merlin
73443bf726 Add input to allow arbitrary checksums
In order for the action integration test to pass on CI
And it's a feature

Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-06 13:36:28 +01:00
Paul Merlin
94a3288680 Properly close file read stream
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-06 11:56:42 +01:00
Paul Merlin
9e2c9e95db Make TypeScript linter happy
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-06 11:37:12 +01:00
Paul Merlin
e1189600d2 First cut
Signed-off-by: Paul Merlin <paul@gradle.com>
2020-01-05 14:03:40 +01:00
Paul Merlin
0fa564f462 Initial commit 2020-01-05 12:04:24 +01:00