Class DefaultGraalVmExtension
- java.lang.Object
-
- org.graalvm.buildtools.gradle.internal.DefaultGraalVmExtension
-
- All Implemented Interfaces:
GraalVMExtension
public class DefaultGraalVmExtension extends java.lang.Object implements GraalVMExtension
-
-
Constructor Summary
Constructors Constructor Description DefaultGraalVmExtension(org.gradle.api.NamedDomainObjectContainer<NativeImageOptions> nativeImages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
binaries(org.gradle.api.Action<? super org.gradle.api.NamedDomainObjectContainer<NativeImageOptions>> spec)
Configures the native image options.org.gradle.api.NamedDomainObjectContainer<NativeImageOptions>
getBinaries()
Returns the native image configurations used to generate images.
-
-
-
Constructor Detail
-
DefaultGraalVmExtension
@Inject public DefaultGraalVmExtension(org.gradle.api.NamedDomainObjectContainer<NativeImageOptions> nativeImages)
-
-
Method Detail
-
getBinaries
public org.gradle.api.NamedDomainObjectContainer<NativeImageOptions> getBinaries()
Description copied from interface:GraalVMExtension
Returns the native image configurations used to generate images. By default, this plugin creates two images, one called "main" for the main application and another one called "test" for tests.- Specified by:
getBinaries
in interfaceGraalVMExtension
-
binaries
public void binaries(org.gradle.api.Action<? super org.gradle.api.NamedDomainObjectContainer<NativeImageOptions>> spec)
Description copied from interface:GraalVMExtension
Configures the native image options.- Specified by:
binaries
in interfaceGraalVMExtension
-
-