public interface HasObjectiveCppSources
HasObjectiveCppSourceSet| Modifier and Type | Method and Description |
|---|---|
default ObjectiveCppSourceSet |
getObjectiveCppSources()
Defines the Objective-C++ sources of this component.
|
default void |
objectiveCppSources(Action<? super ObjectiveCppSourceSet> action)
Configures the Objective-C++ sources of this component using the specified configuration action.
|
default void |
objectiveCppSources(groovy.lang.Closure<Void> closure)
Configures the Objective-C++ sources of this component using the specified configuration closure.
|
default ObjectiveCppSourceSet getObjectiveCppSources()
By default, the source set contains all files in the directory src/componentName/objectiveCpp (and src/componentName/objcpp for backward compatibility), where componentName represent this component's name, i.e. main or test.
ObjectiveCppSourceSetdefault void objectiveCppSources(Action<? super ObjectiveCppSourceSet> action)
action - the configuration action, must not be nullgetObjectiveCppSources()default void objectiveCppSources(@DelegatesTo(value=ObjectiveCppSourceSet.class,strategy=1) groovy.lang.Closure<Void> closure)
closure - the configuration closure, must not be nullgetObjectiveCppSources()