Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Split the `signing` module

This commit splits the `signing` module into another `security`

project so that we can reuse some code for dependency verification.

It's worth noting that some of the classes had to remain in the `plugins`

package because they were public APIs.

Further effort to split them out may be done later.

    • -62
    • +0
    ./AbstractSignatureTypeProvider.java
    • -32
    • +0
    ./DefaultSignatureTypeProvider.java
  1. … 64 more files in changeset.
Split the `signing` module

This commit splits the `signing` module into another `security`

project so that we can reuse some code for dependency verification.

It's worth noting that some of the classes had to remain in the `plugins`

package because they were public APIs.

Further effort to split them out may be done later.

    • -62
    • +0
    ./AbstractSignatureTypeProvider.java
    • -32
    • +0
    ./DefaultSignatureTypeProvider.java
  1. … 64 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

  1. … 909 more files in changeset.
Simplify signing plugin by using new language features

- Use try-with-resources instead of IoActions.withResource()

- Use method references instead of Function constants

- Use lambda instead of anonymous class

  1. … 1 more file in changeset.
Improve declared inputs and outputs of Sign task

Input and output files are now tracked via the task's `Signatures`. In

addition, the `Signatory` and `SignatureType` are now inputs.

Resolves #7381.

  1. … 6 more files in changeset.
Move Java sources from src/main/groovy to src/main/java

There are no Groovy sources left, so there's no need to keep these files in src/main/groovy.

    • -0
    • +83
    ./AbstractSignatureType.java
    • -0
    • +62
    ./AbstractSignatureTypeProvider.java
    • -0
    • +27
    ./BinarySignatureType.java
    • -0
    • +32
    ./DefaultSignatureTypeProvider.java
    • -0
    • +68
    ./SignatureType.java
    • -0
    • +30
    ./SignatureTypeProvider.java
    • -0
    • +46
    ./pgp/ArmoredSignatureType.java
    • -0
    • +20
    ./pgp/package-info.java
  1. … 43 more files in changeset.