All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openbakery.configuration.XcodeConfigTask.groovy Maven / Gradle / Ivy

Go to download

XCode-Plugin is a plugin to allow custom XCode projects to build as generated by CMake

The newest version!
package org.openbakery.configuration

import org.gradle.api.tasks.TaskAction
import org.openbakery.AbstractXcodeTask
import org.openbakery.XcodeProjectFile

/**
 * User: rene
 * Date: 25/11/14
 */
class XcodeConfigTask extends AbstractXcodeTask {

	XcodeProjectFile xcodeProjectFile

	XcodeConfigTask() {
		super()
		this.description = "Parses the xcodeproj file and setups the configuration for the build"
	}


	@TaskAction
	void configuration() {
		def projectFile = new File(project.xcodebuild.projectFile, "project.pbxproj")
		xcodeProjectFile = new XcodeProjectFile(project, projectFile)
		xcodeProjectFile.parse()
		project.xcodebuild.projectSettings = xcodeProjectFile.getProjectSettings()
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy