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_TEST_EXTENSION

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

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

        public static final java.lang.String PROCESS_AGENT_RESOURCES_TASK_NAME_PREFIX
        See Also:
        Constant Field Values
      • PROCESS_AGENT_RESOURCES_TASK_NAME_SUFFIX

        public static final java.lang.String PROCESS_AGENT_RESOURCES_TASK_NAME_SUFFIX
        See Also:
        Constant Field Values
      • GENERATE_RESOURCES_CONFIG_FILE_TASK_NAME

        public static final java.lang.String GENERATE_RESOURCES_CONFIG_FILE_TASK_NAME
        See Also:
        Constant Field Values
      • GENERATE_TEST_RESOURCES_CONFIG_FILE_TASK_NAME

        public static final java.lang.String GENERATE_TEST_RESOURCES_CONFIG_FILE_TASK_NAME
        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
    • Constructor Detail

      • NativeImagePlugin

        public NativeImagePlugin()
    • Method Detail

      • getArchiveOperations

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

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