Groovy Documentation

org.gradle.nativebinaries
[Java] Interface NativeBinary

org.gradle.nativebinaries.NativeBinary
  org.gradle.language.base.BuildableModelElement
      org.gradle.language.base.Binary
          org.gradle.api.Buildable
              org.gradle.api.Named
All Superinterfaces:
BuildableModelElement, Binary, Buildable, Named

@Incubating
public interface NativeBinary
extends Binary

Represents a particular binary artifact.


Method Summary
BuildType getBuildType()

Returns the BuildType used to construct this binary.

Flavor getFlavor()

The flavor that this binary was built with.

Platform getTargetPlatform()

Returns the Platform that this binary is targeted to run on.

 
Methods inherited from interface Binary
getDisplayName
 
Methods inherited from interface BuildableModelElement
builtBy, hasBuildDependencies, setLifecycleTask
 
Methods inherited from interface Named
getName
 

Method Detail

getBuildType

public BuildType getBuildType()
Returns the BuildType used to construct this binary.


getFlavor

public Flavor getFlavor()
The flavor that this binary was built with.


getTargetPlatform

public Platform getTargetPlatform()
Returns the Platform that this binary is targeted to run on.


 

Gradle API 1.12