EmbeddedResource

@Serializable
data class EmbeddedResource(val path: String, val platform: HostPlatform? = null)

Represents an embedded resource that should be loaded by the language plugin.

Constructors

Link copied to clipboard
constructor(path: String, platform: HostPlatform? = null)

Properties

Link copied to clipboard

Path to the resource, relative to the plugin manifest.

Link copied to clipboard

Optionally sets a target platform for this resource. If not present, the resource will always be loaded.