Groovy Documentation

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

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

@Incubating
public interface Library
extends NativeComponent

The logical representation of an library native component.


Method Summary
SourceDirectorySet getHeaders()

The headers exported by this library.

NativeDependencySet getShared()

Converts this library to a native dependency that uses the shared library variant.

NativeDependencySet getStatic()

Converts this library to a native dependency that uses the static library variant.

 
Methods inherited from interface NativeComponent
getBaseName, getBinaries, getSource, setBaseName, source
 
Methods inherited from interface Named
getName
 

Method Detail

getHeaders

public SourceDirectorySet getHeaders()
The headers exported by this library.


getShared

public NativeDependencySet getShared()
Converts this library to a native dependency that uses the shared library variant. This is the default.


getStatic

public NativeDependencySet getStatic()
Converts this library to a native dependency that uses the static library variant.


 

Gradle API 1.7