public interface XcodeIdeProjectExtension
XcodeIdeWorkspaceExtension, is register to the root project instead.| Modifier and Type | Method and Description |
|---|---|
XcodeIdeProductTypes |
getProductTypes()
Returns a repository containing all the known product types by the plugin.
|
NamedDomainObjectContainer<XcodeIdeProject> |
getProjects()
Returns the projects to generate for this Gradle project.
|
void |
projects(Action<? super NamedDomainObjectContainer<XcodeIdeProject>> action)
Configures the project container with the specified action.
|
NamedDomainObjectContainer<XcodeIdeProject> getProjects()
XcodeIdeProject to configure the projects to create, never null.void projects(Action<? super NamedDomainObjectContainer<XcodeIdeProject>> action)
action - a configuration action for the container of XcodeIdeProject instances.NullPointerException - if the action is nullXcodeIdeProductTypes getProductTypes()
XcodeIdeProductTypes class and accessing the public field:
plugins {
id 'dev.nokee.xcode-ide'
}
import dev.nokee.ide.xcode.XcodeIdeProductTypes
xcode {
projects.register('foo') {
targets.register('Foo') {
productType = XcodeIdeProductTypes.APPLICATION
}
}
}
XcodeIdeProductTypes instance to access all known product types via the DSL, never, null.