Class BuildInfoProperties

java.lang.Object
org.springframework.boot.gradle.tasks.buildinfo.BuildInfoProperties
All Implemented Interfaces:
Serializable

public abstract class BuildInfoProperties extends Object implements Serializable
The properties that are written into the build-info.properties file.
Since:
2.0.0
Author:
Andy Wilkinson
See Also:
  • Constructor Details

  • Method Details

    • getGroup

      @Internal public abstract Property<String> getGroup()
      Returns the build.group property. Defaults to the Project's group.
      Returns:
      the group property
    • getArtifact

      @Internal public abstract Property<String> getArtifact()
      Returns the build.artifact property.
      Returns:
      the artifact property
    • getVersion

      @Internal public abstract Property<String> getVersion()
      Returns the build.version property. Defaults to the Project's version.
      Returns:
      the version
    • getName

      @Internal public abstract Property<String> getName()
      Returns the build.name property. Defaults to the Project's name.
      Returns:
      the name
    • getTime

      @Internal public abstract Property<String> getTime()
      Returns the build.time property.
      Returns:
      the time
    • getAdditional

      @Internal public abstract MapProperty<String,Object> getAdditional()
      Returns the additional properties that will be included. When written, the name of each additional property is prefixed with build..
      Returns:
      the additional properties