Companion

object Companion

Functions

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

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

Link copied to clipboard
fun internalOrNull(resource: String, name: String, type: ArtifactType, referenceClass: KClass<*> = LazyOutputArtifact::class): LazyOutputArtifact?

Like internal, but reads the resource instantly and returns null if it does not exist.