Groovy Documentation

org.gradle.nativecode.base
[Java] Interface NativeComponent

org.gradle.api.Named
  org.gradle.nativecode.base.NativeComponent
All Superinterfaces:
Named

@Incubating
public interface NativeComponent
extends Named

Represents a logical software component, which may be built in a number of variant binaries.


Method Summary
String getBaseName()

The name that is used to construct the output file names when building this component.

DomainObjectSet getBinaries()

The binaries that are built for this component.

DomainObjectSet getSource()

The source sets that are used to build this component.

void setBaseName(String baseName)

Sets the name that is used to construct the output file names when building this component.

void source(LanguageSourceSet sourceSet)

Adds some source to use to build this component.

 
Methods inherited from interface Named
getName
 

Method Detail

getBaseName

public String getBaseName()
The name that is used to construct the output file names when building this component.


getBinaries

public DomainObjectSet getBinaries()
The binaries that are built for this component. You can use this to configure the binaries for this component.


getSource

public DomainObjectSet getSource()
The source sets that are used to build this component.


setBaseName

public void setBaseName(String baseName)
Sets the name that is used to construct the output file names when building this component.


source

public void source(LanguageSourceSet sourceSet)
Adds some source to use to build this component.


 

Gradle API 1.7