Class NativeBuild

  • All Implemented Interfaces:
    BooleanSupplier

    public class NativeBuild
    extends Object
    implements BooleanSupplier
    Supplier that can be used to only run build steps in the native build. WARNING: In most cases extensions will want to use NativeOrNativeSourcesBuild to ensure that the extension works properly when the build produces a native-sources artifact instead of a native binary. This build item should be used only when there is a real need for a step to run exclusively for a native build.