tasks

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move credentials provider evaluation to CachingTaskDependencyResolveContext

This change makes credentials provider factory not depend on eager evaluation of providers during configuration. Instead, explicitly intercept credentials providers during task graph construction and calculate their presence.

  1. … 4 more files in changeset.
Mark credentials as Optional in ivy and maven repositories

  1. … 1 more file in changeset.
Merge remote-tracking branch 'origin/vv/credentials-providers-v2'

* origin/vv/credentials-providers-v2: (31 commits)

Ignore configuration cache test in instantIntegTest mode

Ensure provided credentials are not cached

Add non null API annotation to credentials provider factory implementation package

Move credentials provider factory interface to core-api module

Add credentials provider test using programmatically registered inputs

Preserve provider semantics in credentials providers

Use Providers.notDefined() instead of custom missing value provider

Simplify credential providers implementation

Suppress unchecked cast warnings

Fail at configuration time when any credential providers are not fulfilled

Remove unused internal field

Do not listen for task graph readiness in credentials provider factory

Use managed properties in credentials provider integration test

Unignore a test that works with configuration cache

Add AWS credentials provider

Provide using a single method accepting the type instead of multiple per-type methods

Simplify credentials provider with inferred identity from repository

Simplify repository credentials identity resolution

Do not expose CredentialsProviderFactory via Project

Fix credentials provider factory unit test

...

  1. … 4 more files in changeset.
Polish `PublishToMavenRepository`

- Reorder class members for top-down reading

- Introduce `UnsupportedRepositorySpec` for clarity AND to avoid the

`writeReplace` infinite recursion bug

Polish `PublishToMavenRepository`

- Reorder class members for top-down reading

- Introduce `UnsupportedRepositorySpec` for clarity AND to avoid the

`writeReplace` infinite recursion bug

Replace `transient` field by `Transient.Var`

Provide better diagnostics when discarded transient fields are used

By introducing the `Transient<T>` and `Transient.Var<T>` types to better model

transient field behaviour.

  1. … 4 more files in changeset.
wip: Hack `PublishToMavenRepository` to support the configuration cache

  1. … 4 more files in changeset.
wip: Hack `PublishToMavenRepository` to support the configuration cache

  1. … 4 more files in changeset.
wip: Hack `PublishToMavenRepository` to support the configuration cache

  1. … 4 more files in changeset.
wip: Hack `PublishToMavenRepository` to support the configuration cache

  1. … 4 more files in changeset.
Introduce `Cached<T>` to facilitate configuration cache support

`Cached<T>` guarantees:

- computations are executed only once

- computations are executed at serialization time if needed

- exceptions, if any, are reported only if and when the result is needed

  1. … 2 more files in changeset.
Format `AbstractPublishToMaven`

Make `GenerateMavenPom` compatible with the configuration cache

By precomputing the Maven model at store time.

  1. … 2 more files in changeset.
Validate credential providers before task execution

  1. … 7 more files in changeset.
Validate credential providers before task execution

  1. … 7 more files in changeset.
Simplify usage of Property<Credentials> in AuthenticationSupporter

  1. … 8 more files in changeset.
Simplify usage of Property<Credentials> in AuthenticationSupporter

  1. … 10 more files in changeset.
Simplify usage of Property<Credentials> in AuthenticationSupporter

  1. … 10 more files in changeset.
Add input field Property<Credentials> to publishing tasks

This way the error messages coming from providers are not lost.

  1. … 2 more files in changeset.
Use Property<Credentials> in AuthenticationSupporter

For now, fail due to missing credentials at execution time and with error messages that we currently get.

  1. … 6 more files in changeset.
Add credentials provider for username and password credentials

Test the feature via publishing to Maven and Ivy repositories.

Do not add any public APIs at this point.

  1. … 11 more files in changeset.
Remove duplications in maven http publishing test

  1. … 1 more file in changeset.
Clean up maven publishing module

- use lambdas where possible

- remove declared but unthrown exceptions

- use diamond operator when instantiating generics

- try-with-resources

  1. … 8 more files in changeset.
Add Provider APIs to PasswordCredentials

  1. … 4 more files in changeset.
Remove deprecated methods

Latest versions of org.jfrog.buildinfo:build-info-extractor-gradle no

longer use these APIs

  1. … 5 more files in changeset.
Remove deprecated methods

Latest versions of org.jfrog.buildinfo:build-info-extractor-gradle no

longer use these APIs

  1. … 5 more files in changeset.
Remove deprecated methods

Latest versions of org.jfrog.buildinfo:build-info-extractor-gradle no

longer use these APIs

  1. … 5 more files in changeset.
Remove deprecated methods

Latest versions of org.jfrog.buildinfo:build-info-extractor-gradle no

longer use these APIs

  1. … 5 more files in changeset.
Remove deprecated methods

Latest versions of org.jfrog.buildinfo:build-info-extractor-gradle no

longer use these APIs

  1. … 5 more files in changeset.