All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gradle.maven.extension.api.cache.Credentials Maven / Gradle / Ivy

Go to download

Maven extension for Develocity installations that provides Build Insights, Build Caching, Predictive Test Selection, and Test Distribution for Maven builds. Alternatively, Build Insights can be captured and viewed for free at scans.gradle.com and Build Caching can be used for free locally. See https://gradle.com for more information on Develocity.

There is a newer version: 1.23
Show newest version
package com.gradle.maven.extension.api.cache;

/**
 * Configures the credentials when accessing the remote build cache.
 * 

* The specified values will take precedence over the values defined in the {@code gradle-enterprise.xml}. * * @since 1.6.5 * @deprecated since 1.21, replaced by {@link com.gradle.develocity.agent.maven.api.cache.Credentials} */ @Deprecated public interface Credentials { /** * Gets the remote build cache username. * * @return the remote build cache username * @since 1.6.5 */ String getUsername(); /** * Sets the remote build cache username. *

* Configuration via the {@code gradle.cache.remote.username} system property will always take precedence. * * @param username the remote build cache username * @since 1.6.5 */ void setUsername(String username); /** * Gets the remote build cache password. * * @return the remote build cache password * @since 1.6.5 */ String getPassword(); /** * Sets the remote build cache password. *

* Configuration via the {@code gradle.cache.remote.password} system property will always take precedence. * * @param password the remote build cache password * @since 1.6.5 */ void setPassword(String password); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy