Package io.mvnpm.gradle.plugin
Class NativeJavaPlugin
java.lang.Object
io.mvnpm.gradle.plugin.NativeJavaPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<@NotNull org.gradle.api.Project>
public class NativeJavaPlugin
extends Object
implements org.gradle.api.Plugin<@NotNull org.gradle.api.Project>
Automatically sets the following attributes on all Gradle configurations:
org.gradle.native.operatingSystem→ the current operating system (possible values OperatingSystemFamily:macos,linux,windows)org.gradle.native.architecture→ the current architecture (possible values MachineArchitecture:x86-64,aarch64),x86)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMarks artifacts that declare no architecture attribute as compatible with any architecture request.static classMarks artifacts that declare no OS attribute as compatible with any OS request. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NativeJavaPlugin
public NativeJavaPlugin()Creates a new instance.
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) - Specified by:
applyin interfaceorg.gradle.api.Plugin<@NotNull org.gradle.api.Project>
-