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

com.gradle.develocity.agent.maven.api.cache.RemoteBuildCache 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.develocity.agent.maven.api.cache;

/**
 * Configures the remote build cache.
 * 

* The specified values will take precedence over the values defined in the {@code develocity.xml}. * * @since 1.21 */ public interface RemoteBuildCache { /** * Whether the remote build cache is enabled. * * @return {@code true} if the remote build cache is enabled, {@code false} otherwise */ boolean isEnabled(); /** * Sets whether to enable the remote build cache. *

* Configuration via the {@code develocity.cache.remote.enabled} system property will always take precedence. * * @param enabled whether to enable the remote build cache */ void setEnabled(boolean enabled); /** * Whether storing build cache entries is enabled. * * @return {@code true} if storing build cache entries is enabled, {@code false} otherwise */ boolean isStoreEnabled(); /** * Sets whether to store build cache entries. *

* Configuration via the {@code develocity.cache.remote.storeEnabled} system property will always take precedence. * * @param storeEnabled whether to enable storing build cache entries */ void setStoreEnabled(boolean storeEnabled); /** * Gets the server configuration. * * @return the server configuration */ Server getServer(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy