ResourceMapper

scala.build.internal.resource.ResourceMapper

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def copyResourceToClassesDir(build: Build): Unit

Copies and maps resources from their original path to the destination path in build output, also caching output paths in a file.

Copies and maps resources from their original path to the destination path in build output, also caching output paths in a file.

Remembering the mapping this way allows for the resource to be removed if the original file is renamed/deleted.

Attributes

def copyResourcesToDirWithMapping(output: Path, registryFilePath: Path, newMapping: Map[Path, RelPath]): Unit