org

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add 'subprojects/signing/' from separate plugin developed externally initially.

git-subtree-dir: subprojects/signing

git-subtree-mainline: b637885445c41720a7193e7b21fc416f381ba217

git-subtree-split: 1ab52011ae1e1f89c789b4a09e45020b2909a974

    • -147
    • +0
    ./gradle/plugins/signing/Sign.groovy
    • -141
    • +0
    ./gradle/plugins/signing/SignOperation.groovy
    • -39
    • +0
    ./gradle/plugins/signing/Signature.groovy
    • -124
    • +0
    ./gradle/plugins/signing/SigningSettings.groovy
    • -100
    • +0
    ./gradle/plugins/signing/signatory/KeyId.groovy
    • -34
    • +0
    ./gradle/plugins/signing/type/SignatureType.groovy
  1. … 52 more files in changeset.
Added better support for up-to-date checking

Signing tasks can now be “required” or not, and tasks that are not required are skipped if there is no signatory.

By default, signing tasks are NOT required.

    • -2
    • +23
    ./gradle/plugins/signing/Sign.groovy
    • -0
    • +13
    ./gradle/plugins/signing/SigningSettings.groovy
  1. … 1 more file in changeset.
Rename “defaultSignatory” to just “signatory”

  1. … 3 more files in changeset.
Converted SignatureType to an interface and added a SignatureTypeHandler interface that provides the possible signature types, and a default.

    • -0
    • +1
    ./gradle/plugins/signing/Signature.groovy
    • -0
    • +50
    ./gradle/plugins/signing/type/AbstractSignatureType.groovy
    • -0
    • +33
    ./gradle/plugins/signing/type/ArmoredSignatureType.groovy
    • -0
    • +24
    ./gradle/plugins/signing/type/BinarySignatureType.groovy
    • -0
    • +34
    ./gradle/plugins/signing/type/SignatureType.groovy
  1. … 4 more files in changeset.
Added signing of configurations.

    • -0
    • +13
    ./gradle/plugins/signing/SigningSettings.groovy
  1. … 2 more files in changeset.
The armored output stream MUST be closed to make a valid signature.

Changed the auto created sign task name to “sign«thing capitalised»”

Restructured the task and operation to be capable of signing multiple things.

    • -37
    • +53
    ./gradle/plugins/signing/Sign.groovy
    • -41
    • +77
    ./gradle/plugins/signing/SignOperation.groovy
    • -0
    • +38
    ./gradle/plugins/signing/Signature.groovy
    • -14
    • +11
    ./gradle/plugins/signing/SigningPlugin.groovy
  1. … 6 more files in changeset.
Minor fixes.

Allow control of the default signature type from the settings.

    • -0
    • +10
    ./gradle/plugins/signing/SigningSettings.groovy
  1. … 1 more file in changeset.
Added some sign() methods to the convention to be used for adhoc signing like copy() etc.

    • -13
    • +13
    ./gradle/plugins/signing/Sign.groovy
    • -97
    • +0
    ./gradle/plugins/signing/SignAction.groovy
    • -0
    • +106
    ./gradle/plugins/signing/SignOperation.groovy
  1. … 2 more files in changeset.
Added a shortcut to the DSL for signing tasks.

e.g.

signing {

sign jar, javadocJar, someZipTask

}

    • -2
    • +12
    ./gradle/plugins/signing/Sign.groovy
    • -0
    • +8
    ./gradle/plugins/signing/SignAction.groovy
    • -3
    • +20
    ./gradle/plugins/signing/SigningSettings.groovy
  1. … 1 more file in changeset.
Added a sign() method to the signing dsl for signing tasks.

Also renamed the SigningConfiguration to SigningSettings to avoid the terminology class with Configuration.

    • -4
    • +4
    ./gradle/plugins/signing/SignAction.groovy
    • -20
    • +11
    ./gradle/plugins/signing/SigningPlugin.groovy
    • -0
    • +67
    ./gradle/plugins/signing/SigningSettings.groovy
  1. … 3 more files in changeset.
Tests and tweaks for signatory creation.

  1. … 2 more files in changeset.
Renames to match the gradle plugin naming conventions.

    • -90
    • +0
    ./gradle/plugin/pgp/signing/Sign.groovy
    • -89
    • +0
    ./gradle/plugin/pgp/signing/SignAction.groovy
    • -100
    • +0
    ./gradle/plugin/pgp/signing/signatory/KeyId.groovy
    • -0
    • +90
    ./gradle/plugins/signing/Sign.groovy
    • -0
    • +89
    ./gradle/plugins/signing/SignAction.groovy
    • -0
    • +62
    ./gradle/plugins/signing/SignatureType.groovy
    • -0
    • +39
    ./gradle/plugins/signing/SigningConfiguration.groovy
    • -0
    • +62
    ./gradle/plugins/signing/SigningPlugin.groovy
    • -0
    • +100
    ./gradle/plugins/signing/signatory/KeyId.groovy
  1. … 7 more files in changeset.
If no explicit signatory has been set, use the default.

    • -1
    • +8
    ./gradle/plugin/pgp/signing/Sign.groovy
    • -3
    • +10
    ./gradle/plugin/pgp/signing/SignAction.groovy
Expose the defaultSignatory and signing config at the project level.

Start of the DSL layer, support for creating signatories.

    • -100
    • +0
    ./gradle/plugin/pgp/signing/KeyId.groovy
    • -0
    • +2
    ./gradle/plugin/pgp/signing/Sign.groovy
    • -0
    • +2
    ./gradle/plugin/pgp/signing/SignAction.groovy
    • -77
    • +0
    ./gradle/plugin/pgp/signing/Signatory.groovy
    • -0
    • +35
    ./gradle/plugin/pgp/signing/SigningConfiguration.groovy
    • -0
    • +100
    ./gradle/plugin/pgp/signing/signatory/KeyId.groovy
    • -0
    • +77
    ./gradle/plugin/pgp/signing/signatory/Signatory.groovy
fixed some global replace errors.

Removed “Pgp” prefix from some classes.

    • -0
    • +100
    ./gradle/plugin/pgp/signing/KeyId.groovy
    • -100
    • +0
    ./gradle/plugin/pgp/signing/PgpKeyId.groovy
    • -0
    • +27
    ./gradle/plugin/pgp/signing/SigningPlugin.groovy
  1. … 3 more files in changeset.
Created a standalone action for signing, useful for adhoc signing during build, and set the type of the artifact to the original extension plus the signed extension.

    • -27
    • +20
    ./gradle/plugin/pgp/signing/Sign.groovy
    • -0
    • +80
    ./gradle/plugin/pgp/signing/SignAction.groovy
Added a method to create a signatory from project properties.

Removed unused imports.

    • -2
    • +0
    ./gradle/plugin/pgp/signing/Sign.groovy
Restructured to make the task simply about signing one file.

    • -90
    • +0
    ./gradle/plugin/pgp/signing/PgpSigner.groovy
    • -70
    • +46
    ./gradle/plugin/pgp/signing/Sign.groovy
    • -0
    • +77
    ./gradle/plugin/pgp/signing/Signatory.groovy
    • -0
    • +57
    ./gradle/plugin/pgp/signing/SignatoryFactory.groovy
    • -0
    • +50
    ./gradle/plugin/pgp/signing/SignatureType.groovy
Moved the signature file type out into its own first class type.

    • -34
    • +3
    ./gradle/plugin/pgp/signing/PgpSigner.groovy
    • -2
    • +2
    ./gradle/plugin/pgp/signing/Sign.groovy
    • -0
    • +41
    ./gradle/plugin/pgp/signing/SignatureFileType.groovy
First commit.

    • -0
    • +100
    ./gradle/plugin/pgp/signing/PgpKeyId.groovy
    • -0
    • +121
    ./gradle/plugin/pgp/signing/PgpSigner.groovy
    • -0
    • +27
    ./gradle/plugin/pgp/signing/PgpSigningPlugin.groovy
    • -0
    • +114
    ./gradle/plugin/pgp/signing/Sign.groovy
  1. … 8 more files in changeset.
Created subproject for the gradle-core.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1773 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -105
    • +0
    ./gradle/BuildExceptionReporter.java
    • -27
    • +0
    ./gradle/CommandLine2StartParameterConverter.java
    • -39
    • +0
    ./gradle/CommandLineArgumentException.java
    • -272
    • +0
    ./gradle/DefaultCommandLine2StartParameterConverter.java
    • -132
    • +0
    ./gradle/DefaultGradleFactory.java
  1. … 2267 more files in changeset.
Moved wrapper into its own subproject. Created multi-project build for Gradle.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1771 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -11
    • +22
    ./gradle/api/tasks/wrapper/Wrapper.java
    • -40
    • +0
    ./gradle/wrapper/BootstrapMainStarter.java
    • -51
    • +0
    ./gradle/wrapper/PathAssembler.java
  1. … 19 more files in changeset.
GRADLE-370 - Removed IConventionAware from RepositoryHandler impls and use ClassGenerator to apply at runtime instead - Moved most methods from IConventionAware to new ConventionMapping interface - Inject a shared ClassGenerator instance into those places that need it.

git-svn-id: http://svn.codehaus.org/gradle/gradle-core/trunk@1770 004c2c75-fc45-0410-b1a2-da8352e2331b

    • -0
    • +5
    ./gradle/api/internal/ClassGenerator.java
    • -0
    • +36
    ./gradle/api/internal/ConventionMapping.java
    • -29
    • +11
    ./gradle/api/internal/ConventionTask.java
    • -16
    • +33
    ./gradle/api/internal/DefaultClassGenerator.java
  1. … 22 more files in changeset.