public class LegacyAuthenticationHandler
extends java.lang.Object
implements org.gradle.api.Action<org.gradle.api.tasks.Upload>
CredentialsProvider
instances registered with the CredentialsProviderRegistry looking for any that provide authentication
against the maven repository defined for each upload task.
IMPL NOTE : This will need to change drastically whenever Gradle moves to its Publication scheme for uploads.
| Modifier and Type | Class and Description |
|---|---|
static class |
LegacyAuthenticationHandler.ReflectionException |
static class |
LegacyAuthenticationHandler.Repository
A wrapper around the org.apache.maven.artifact.ant.RemoteRepository class from the maven ant tasks due to
some change in Gradle causing classloader problems.
|
| Constructor and Description |
|---|
LegacyAuthenticationHandler(CredentialsProviderRegistry credentialsProviderRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(org.gradle.api.Project project) |
void |
execute(org.gradle.api.tasks.Upload upload) |
public LegacyAuthenticationHandler(CredentialsProviderRegistry credentialsProviderRegistry)