Class NativeImagePlugin

  • All Implemented Interfaces:
    org.gradle.api.Plugin<org.gradle.api.Project>

    public class NativeImagePlugin
    extends java.lang.Object
    implements org.gradle.api.Plugin<org.gradle.api.Project>
    Gradle plugin for GraalVM Native Image.
    • Field Detail

      • NATIVE_COMPILE_TASK_NAME

        public static final java.lang.String NATIVE_COMPILE_TASK_NAME
        See Also:
        Constant Field Values
      • NATIVE_TEST_COMPILE_TASK_NAME

        public static final java.lang.String NATIVE_TEST_COMPILE_TASK_NAME
        See Also:
        Constant Field Values
      • NATIVE_TEST_TASK_NAME

        public static final java.lang.String NATIVE_TEST_TASK_NAME
        See Also:
        Constant Field Values
      • NATIVE_MAIN_EXTENSION

        public static final java.lang.String NATIVE_MAIN_EXTENSION
        See Also:
        Constant Field Values
      • NATIVE_TEST_EXTENSION

        public static final java.lang.String NATIVE_TEST_EXTENSION
        See Also:
        Constant Field Values
      • DEPRECATED_NATIVE_BUILD_EXTENSION

        public static final java.lang.String DEPRECATED_NATIVE_BUILD_EXTENSION
        See Also:
        Constant Field Values
      • DEPRECATED_NATIVE_TEST_EXTENSION

        public static final java.lang.String DEPRECATED_NATIVE_TEST_EXTENSION
        See Also:
        Constant Field Values
      • DEPRECATED_NATIVE_BUILD_TASK

        public static final java.lang.String DEPRECATED_NATIVE_BUILD_TASK
        See Also:
        Constant Field Values
      • DEPRECATED_NATIVE_TEST_BUILD_TASK

        public static final java.lang.String DEPRECATED_NATIVE_TEST_BUILD_TASK
        See Also:
        Constant Field Values
      • CONFIG_REPO_LOGLEVEL

        public static final java.lang.String CONFIG_REPO_LOGLEVEL
        See Also:
        Constant Field Values
    • Constructor Detail

      • NativeImagePlugin

        public NativeImagePlugin()
    • Method Detail

      • getArchiveOperations

        @Inject
        public org.gradle.api.file.ArchiveOperations getArchiveOperations()
      • getExecOperations

        @Inject
        public org.gradle.process.ExecOperations getExecOperations()
      • getFileOperations

        @Inject
        public org.gradle.api.file.FileSystemOperations getFileOperations()
      • apply

        public void apply​(@Nonnull
                          org.gradle.api.Project project)
        Specified by:
        apply in interface org.gradle.api.Plugin<org.gradle.api.Project>