public interface HasPublicHeaders
HasPublicSourceSet| Modifier and Type | Method and Description |
|---|---|
default NativeHeaderSet |
getPublicHeaders()
Defines the public headers of this component.
|
default void |
publicHeaders(Action<? super NativeHeaderSet> action)
Configures the public headers of this component using the specified configuration action.
|
default void |
publicHeaders(groovy.lang.Closure<Void> closure)
Configures the public headers of this component using the specified configuration closure.
|
default NativeHeaderSet getPublicHeaders()
By default, the source set contains all files in the directory src/componentName/public, where componentName represent this component's name, i.e. main or test.
NativeHeaderSetdefault void publicHeaders(Action<? super NativeHeaderSet> action)
action - the configuration action, must not be nullgetPublicHeaders()default void publicHeaders(@DelegatesTo(value=NativeHeaderSet.class,strategy=1) groovy.lang.Closure<Void> closure)
closure - the configuration closure, must not be nullgetPublicHeaders()