Package org.graalvm.buildtools.gradle
Class NativeImagePlugin
- java.lang.Object
-
- org.graalvm.buildtools.gradle.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NativeImagePlugin.TrackingDirectorySystemPropertyProvider
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONFIG_REPO_LOGLEVEL
static java.lang.String
DEPRECATED_NATIVE_BUILD_EXTENSION
static java.lang.String
DEPRECATED_NATIVE_BUILD_TASK
static java.lang.String
DEPRECATED_NATIVE_TEST_BUILD_TASK
static java.lang.String
DEPRECATED_NATIVE_TEST_EXTENSION
static java.lang.String
NATIVE_COMPILE_TASK_NAME
static java.lang.String
NATIVE_MAIN_EXTENSION
static java.lang.String
NATIVE_TEST_COMPILE_TASK_NAME
static java.lang.String
NATIVE_TEST_EXTENSION
static java.lang.String
NATIVE_TEST_TASK_NAME
-
Constructor Summary
Constructors Constructor Description NativeImagePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(org.gradle.api.Project project)
org.gradle.api.file.ArchiveOperations
getArchiveOperations()
org.gradle.process.ExecOperations
getExecOperations()
org.gradle.api.file.FileSystemOperations
getFileOperations()
void
registerTestBinary(org.gradle.api.Project project, DefaultGraalVmExtension graalExtension, DefaultTestBinaryConfig config)
-
-
-
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
-
-
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(org.gradle.api.Project project)
- Specified by:
apply
in interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-
registerTestBinary
public void registerTestBinary(org.gradle.api.Project project, DefaultGraalVmExtension graalExtension, DefaultTestBinaryConfig config)
-
-