Class RenderLibMigrateTask

java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
com.render.gradle.RenderLibMigrateTask
All Implemented Interfaces:
Comparable<org.gradle.api.Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, org.gradle.api.Named, org.gradle.api.plugins.ExtensionAware, org.gradle.api.Task, org.gradle.util.Configurable<org.gradle.api.Task>

@DisableCachingByDefault(because="The task intentionally edits consumer sources and build metadata.") public abstract class RenderLibMigrateTask extends org.gradle.api.DefaultTask
Applies the mechanical portion of a RenderLib version migration.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.gradle.api.Named

    org.gradle.api.Named.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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    abstract org.gradle.api.file.DirectoryProperty
     
    org.gradle.api.provider.ListProperty<String>
    Gradle compilation/lifecycle tasks to verify after editing, including client and test source sets.
    abstract org.gradle.api.provider.Property<String>
     
    org.gradle.api.provider.Property<String>
    Exact Gradle project path whose sources and metadata are migrated.
    org.gradle.api.provider.Property<String>
     
    org.gradle.api.provider.Property<Boolean>
     
    abstract org.gradle.api.file.DirectoryProperty
     
    abstract org.gradle.api.provider.Property<String>
     
    abstract org.gradle.api.file.DirectoryProperty
     
    org.gradle.api.file.ConfigurableFileCollection
    Selected project's configured source directories, checked for recoverable project-local scope.
    abstract org.gradle.api.provider.Property<String>
     
    abstract org.gradle.api.provider.Property<Boolean>
     
    org.gradle.api.file.DirectoryProperty
    Root build directory containing the wrapper, also for a selected subproject.
    void
     
    void
    targetOption(String targetVersion)
     

    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, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService

    Methods inherited from class org.gradle.api.internal.AbstractTask

    acceptServiceReferences, appendParallelSafeAction, doNotTrackState, doNotTrackStateIf, getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonsNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, restoreOnlyIf, restoreTaskActions, setImpliesSubProjects

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.gradle.api.Task

    doNotTrackState, notCompatibleWithConfigurationCache
  • Constructor Details

    • RenderLibMigrateTask

      public RenderLibMigrateTask()
  • Method Details

    • getCurrentVersion

      @Input public abstract org.gradle.api.provider.Property<String> getCurrentVersion()
    • getTargetVersion

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getTargetVersion()
    • getReleaseEndpoint

      @Input public abstract org.gradle.api.provider.Property<String> getReleaseEndpoint()
    • getVerifyCompilation

      @Input public abstract org.gradle.api.provider.Property<Boolean> getVerifyCompilation()
    • getOffline

      @Input public org.gradle.api.provider.Property<Boolean> getOffline()
    • getMinecraftVersion

      @Input @Optional public org.gradle.api.provider.Property<String> getMinecraftVersion()
    • getCompilationTasks

      @Input public org.gradle.api.provider.ListProperty<String> getCompilationTasks()
      Gradle compilation/lifecycle tasks to verify after editing, including client and test source sets.
    • getMigrationProjectPath

      @Input public org.gradle.api.provider.Property<String> getMigrationProjectPath()
      Exact Gradle project path whose sources and metadata are migrated. Other projects remain untouched.
    • getSourceDirectories

      @Internal public org.gradle.api.file.ConfigurableFileCollection getSourceDirectories()
      Selected project's configured source directories, checked for recoverable project-local scope.
    • getWrapperRoot

      @Internal public org.gradle.api.file.DirectoryProperty getWrapperRoot()
      Root build directory containing the wrapper, also for a selected subproject.
    • compilationTasksOption

      public void compilationTasksOption(String tasks)
    • getProjectRoot

      @Internal public abstract org.gradle.api.file.DirectoryProperty getProjectRoot()
    • getBackupDirectory

      @Internal public abstract org.gradle.api.file.DirectoryProperty getBackupDirectory()
    • getReportDirectory

      @OutputDirectory public abstract org.gradle.api.file.DirectoryProperty getReportDirectory()
    • targetOption

      public void targetOption(String targetVersion)
    • migrate

      public void migrate() throws Exception
      Throws:
      Exception