internal

fun internal(resource: String, name: String, type: ArtifactType, referenceClass: KClass<*> = LazyOutputArtifact::class): LazyOutputArtifact

Creates a LazyOutputArtifact whose content is extracted from an internal resource.

Parameters

resource

path to the internal resource

name

name of the resource (without file extensions)

type

type of content the resource contains

referenceClass

reference classpath to use to retrieve the internal resource