Class BaseGeneratePackageTreeTask<P extends BaseWorker.Params,​W extends BaseWorker<P>>

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.gradle.api.Task

        org.gradle.api.Task.Namer
    • Field Summary

      • Fields inherited from interface org.gradle.api.Task

        TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void configureParams​(P params)  
      void execute()  
      abstract org.gradle.api.provider.Property<DexCountExtension> getConfigProperty()
      The plugin configuration, as provided by the 'dexcount' block.
      abstract org.gradle.api.file.DirectoryProperty getOutputDirectoryProperty()
      The directory in which plugin outputs (the report file, summary file, and charts) will be written.
      abstract org.gradle.api.provider.Property<String> getOutputFileNameProperty()
      The name of the the method-count report file, without a file extension.
      abstract org.gradle.api.file.RegularFileProperty getPackageTreeFileProperty()
      The full path to the serialized [PackageTree] produced by this task.
      protected abstract Class<W> getWorkerClass()  
      abstract org.gradle.api.file.ConfigurableFileCollection getWorkerClasspath()  
      abstract org.gradle.workers.WorkerExecutor getWorkerExecutor()  
      protected boolean isAndroidProject()  
      • Methods inherited from class org.gradle.api.DefaultTask

        compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
      • Methods inherited from class org.gradle.api.internal.AbstractTask

        appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getReasonNotToTrackState, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects
      • Methods inherited from interface org.gradle.api.Task

        doNotTrackState, getConvention
    • Method Detail

      • getConfigProperty

        public abstract org.gradle.api.provider.Property<DexCountExtensiongetConfigProperty()
        The plugin configuration, as provided by the 'dexcount' block.
      • getOutputFileNameProperty

        @Input
        public abstract org.gradle.api.provider.Property<StringgetOutputFileNameProperty()
        The name of the the method-count report file, without a file extension.
      • getPackageTreeFileProperty

        @NotNull
        @OutputFile
        public abstract org.gradle.api.file.RegularFileProperty getPackageTreeFileProperty()
        The full path to the serialized [PackageTree] produced by this task. This file is an intermediate representation, not intended for public consumption. Its format is likely to change without notice.
      • getOutputDirectoryProperty

        @OutputDirectory
        public abstract org.gradle.api.file.DirectoryProperty getOutputDirectoryProperty()
        The directory in which plugin outputs (the report file, summary file, and charts) will be written.
      • getWorkerClasspath

        @Classpath
        public abstract org.gradle.api.file.ConfigurableFileCollection getWorkerClasspath()