append

open override fun append(resourcePath: String, separator: String)

Append contents to a resource in the jar.

e.g. append("resources/application.yml", "\n---\n") for merging resources/application.yml files.

Parameters

resourcePath

The path to the resource in the jar.

separator

The separator to use between the original content and the appended content, defaults to \n (AppendingTransformer.DEFAULT_SEPARATOR).