Package com.datadog.gradle.plugin
Class MappingFileUploadTask
-
- All Implemented Interfaces:
-
kotlin.Comparable,org.gradle.api.Named,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.util.Configurable
public abstract class MappingFileUploadTask extends FileUploadTask
A Gradle task to upload a Proguard/R8 mapping file to Datadog servers.
-
-
Field Summary
Fields Modifier and Type Field Description private final RegularFilePropertymappingFileprivate Map<String, String>mappingFilePackagesAliasesprivate BooleanmappingFileTrimIndentsprivate final Property<String>applicationIdprivate StringapiKeyprivate ApiKeySourceapiKeySourceprivate StringvariantNameprivate final Property<String>versionNameprivate final Property<Integer>versionCodeprivate final Property<String>serviceNameprivate Stringsiteprivate StringremoteRepositoryUrlprivate final Property<String>buildIdprivate FiledatadogCiFileprivate final ListProperty<File>sourceSetRootsprivate FilerepositoryFileprivate Booleanenabledprivate final Property<Duration>timeoutprivate final TaskStateInternalstateprivate BooleanimpliesSubProjectsprivate final BooleanhasCustomActions
-
Constructor Summary
Constructors Constructor Description MappingFileUploadTask(ProviderFactory providerFactory, RepositoryDetector repositoryDetector)
-
Method Summary
Modifier and Type Method Description abstract RegularFilePropertygetMappingFile()The path to the mapping file to upload. final Map<String, String>getMappingFilePackagesAliases()Replacements for the source prefixes in the mapping file. final UnitsetMappingFilePackagesAliases(Map<String, String> mappingFilePackagesAliases)Replacements for the source prefixes in the mapping file. final BooleangetMappingFileTrimIndents()Trim indents in the mapping file. final UnitsetMappingFileTrimIndents(Boolean mappingFileTrimIndents)Trim indents in the mapping file. abstract Property<String>getApplicationId()Application ID (usually a package prefix). -
Methods inherited from class com.datadog.gradle.plugin.FileUploadTask
applyTask, getApiKey, getApiKeySource, getBuildId, getDatadogCiFile, getRemoteRepositoryUrl, getRepositoryFile, getServiceName, getSite, getSourceSetRoots, getVariantName, getVersionCode, getVersionName, setApiKey, setApiKeySource, setDatadogCiFile, setRemoteRepositoryUrl, setRepositoryFile, setSite, setVariantName -
Methods inherited from class org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects -
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MappingFileUploadTask
MappingFileUploadTask(ProviderFactory providerFactory, RepositoryDetector repositoryDetector)
-
-
Method Detail
-
getMappingFile
@InputFiles() abstract RegularFileProperty getMappingFile()
The path to the mapping file to upload.
-
getMappingFilePackagesAliases
@Input() final Map<String, String> getMappingFilePackagesAliases()
Replacements for the source prefixes in the mapping file.
-
setMappingFilePackagesAliases
final Unit setMappingFilePackagesAliases(Map<String, String> mappingFilePackagesAliases)
Replacements for the source prefixes in the mapping file.
-
getMappingFileTrimIndents
@Input() final Boolean getMappingFileTrimIndents()
Trim indents in the mapping file.
-
setMappingFileTrimIndents
final Unit setMappingFileTrimIndents(Boolean mappingFileTrimIndents)
Trim indents in the mapping file.
-
getApplicationId
@Input() abstract Property<String> getApplicationId()
Application ID (usually a package prefix).
-
-
-
-