Skip to content

Is there any way to build multiple targets at once?  #44

@vasanth23

Description

@vasanth23

I am using the following script which works fine with single target but what I am looking for is multiple targets

My Current Script

buildscript 
{
    repositories 
    {
        maven 
        {
            url('http://openbakery.org/repository/')
        }
        mavenCentral()
    }
    dependencies 
    {
        classpath group: 'org.openbakery', name: 'xcodePlugin', version: '0.9.2'
    }
}
apply plugin: 'xcode'

xcodebuild 
{   
    scheme = 'TestBuildGradle'
    configuration = 'Debug'
    sdk =  'iphonesimulator7.0'
    target = 'TestBuildGradle'
    unitTestTarget = 'TestBuildGradleTests'
    destination 
    {
        platform = 'iOS Simulator'
        name = 'iPhone Retina (3.5-inch)'
        os='7.0'
    }
}

I am looking for something like

target = 'alltargets'

or

target = ['Target1', 'Target2', 'Target3', .....]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions