JextractExtension

abstract class JextractExtension @Inject constructor(objects: ObjectFactory)(source)

Constructors

Link copied to clipboard
@Inject
constructor(objects: ObjectFactory)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val distributions: RegularFileProperty

A properties file containing the remote locations where to download the Jextract distributions

Link copied to clipboard
abstract val generateSourceFiles: Property<Boolean>

Generate source files instead of class files for all libraries where not set explicitly (Jextract 21 and below)

Link copied to clipboard
abstract val installation: Property<JextractInstallation>

Configuration of a Jextract installation to be used by the plugin

Link copied to clipboard
val libraries: NamedDomainObjectContainer<LibraryHandler>

The libraries Jextract should generate bindings for

Link copied to clipboard
abstract val output: DirectoryProperty

specify the directory to place generated files of all libraries by default

Functions

Link copied to clipboard
fun download(action: Action<in RemoteJextractInstallation>)

Configures a local Jextract installation to be used by the plugin

fun download(javaLanguageVersion: JavaLanguageVersion)
Link copied to clipboard
fun libraries(action: Action<in NamedDomainObjectContainer<LibraryHandler>>)

Configures the libraries Jextract should generate bindings for

Link copied to clipboard
fun local(action: Action<in LocalJextractInstallation>)
fun local(location: Directory)
fun local(location: DirectoryProperty)

Configures a local Jextract installation to be used by the plugin