code: @TaskAction
  	public void generateBuildProperties() {
  		try {
  			new BuildPropertiesWriter(new File(getDestinationDir(),
  					"build-info.properties")).writeBuildProperties(new ProjectDetails(
  							this.properties.getGroup(),
  							(this.properties.getArtifact() != null)
  									? this.properties.getArtifact() : "unspecified",
  							this.properties.getVersion(), this.properties.getName(),
  							this.properties.getTime(),
  							coerceToStringValues(this.properties.getAdditional())));
  		}
  		catch (IOException ex) {
  			throw new TaskExecutionException(this, ex);
  		}
  	}
docs: Generates the {@code build-info.properties} file in the configured
  {@link #setDestinationDir(File) destination}.