Skip to content

Add support for running in a build.gradle that is run from a GradleBuildTask (i.e. subproject) - #31

Closed
boardbloke wants to merge 3 commits into
openbakery:masterfrom
boardbloke:master
Closed

Add support for running in a build.gradle that is run from a GradleBuildTask (i.e. subproject)#31
boardbloke wants to merge 3 commits into
openbakery:masterfrom
boardbloke:master

Conversation

@boardbloke

Copy link
Copy Markdown
Contributor

The change is to pass the project directory to the commandRunner when calling xcodeBuild.
This means that the xcode task can be in a build.gradle that is in a project subfolder (along with the xoce project files), and can be called from a master build.gradle

Also added support for running the plugin test from a windows box (not assuming '/' as the file separator)

boardbloke and others added 3 commits August 16, 2013 09:16
Provide the project directory to the command runner when calling xcodebuild.

It doesn't assume gradle is run from the same directory as the one containing the build.gradle containing the xcodebuild task.

This is useful when you want to call the xcode build.gradle as a GradleBuildTask from a master build script.
…ebuild.

It doesn't assume gradle is run from the same directory as the one containing the build.gradle containing the xcodebuild task.

This is useful when you want to call the xcode build.gradle as a GradleBuildTask from a master build script.
…oject plist

It doesn't assume gradle is run from the same directory as the one containing the build.gradle containing the AbstractXCodeTask.

This is useful when you want to call the plist-modify task in a build.gradle as a GradleBuildTask from a master build script.
renep added a commit that referenced this pull request Aug 19, 2013
renep added a commit that referenced this pull request Aug 19, 2013
@renep

renep commented Aug 19, 2013

Copy link
Copy Markdown
Contributor

I have merged your request into the master and have created a new version 0.8.6 that includes your changes.

I have done this manually, because you have changed the indentation in your changed to use spaces. This project uses tabs. e.g. you have changed only one line in AbstractXcodeTask.groovy, but in your pull requests the whole file has changed.

The second thing I have changed from your code is, that I have removed the ${File.separator} and changed it back to /. The plugin will only work on OS X, so I do not need to windows support. I prefer using / because it makes the code easier to read.

@renep renep closed this Aug 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants