Class InstallationHandler
java.lang.Object
de.infolektuell.gradle.jextract.extensions.InstallationHandler
DSL extension to configure which Jextract installation should be used by the Jextract plugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.file.RegularFilePropertyAPropertiesfile containing the remote locations where to download the Jextract distributionsabstract org.gradle.api.provider.Property<@NonNull org.gradle.jvm.toolchain.JavaLanguageVersion> The Java version the code should be generated forabstract org.gradle.api.file.DirectoryPropertyThe path of a local Jextract installation.
-
Constructor Details
-
InstallationHandler
public InstallationHandler()Used by Gradle
-
-
Method Details
-
getJavaLanguageVersion
public abstract org.gradle.api.provider.Property<@NonNull org.gradle.jvm.toolchain.JavaLanguageVersion> getJavaLanguageVersion()The Java version the code should be generated for- Returns:
- A property to configure the Java version
-
getLocation
public abstract org.gradle.api.file.DirectoryProperty getLocation()The path of a local Jextract installation. If it is set, this installation is used by the plugin.- Returns:
- A property to configure the JExtract installation path
-
getDistributions
public abstract org.gradle.api.file.RegularFileProperty getDistributions()APropertiesfile containing the remote locations where to download the Jextract distributions- Returns:
- a property
-