Class GradleTask.Attribute

java.lang.Object
io.spring.initializr.generator.buildsystem.gradle.Attribute
io.spring.initializr.generator.buildsystem.gradle.GradleTask.Attribute
Enclosing class:
GradleTask

@Deprecated(forRemoval=true) public static final class GradleTask.Attribute extends Attribute
Deprecated, for removal: This API element is subject to removal in a future version.
in favor of Attribute
An attribute of a task.
  • Method Details

    • set

      public static GradleTask.Attribute set(String name, String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create an attribute that sets the specified value.
      Parameters:
      name - the name of the attribute
      value - the value to set
      Returns:
      an attribute
    • append

      public static GradleTask.Attribute append(String name, String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create an attribute that appends the specified value.
      Parameters:
      name - the name of the attribute
      value - the value to append
      Returns:
      an attribute