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