Class InstallationHandler

java.lang.Object
de.infolektuell.gradle.jextract.extensions.InstallationHandler

public abstract class InstallationHandler extends Object
DSL extension to configure which Jextract installation should be used by the Jextract plugin
  • 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()
      A Properties file containing the remote locations where to download the Jextract distributions
      Returns:
      a property