Gradle Xcode Plugin

A gradle plugin for building xcode projects.

License

License

Categories

Categories

Gradle Build Tools
GroupId

GroupId

de.felixschulze.gradle
ArtifactId

ArtifactId

gradle-xcode-plugin
Last Version

Last Version

0.5
Release Date

Release Date

Type

Type

jar
Description

Description

Gradle Xcode Plugin
A gradle plugin for building xcode projects.
Project URL

Project URL

https://github.com/x2on/gradle-xcode-plugin
Source Code Management

Source Code Management

https://github.com/x2on/gradle-xcode-plugin

Download gradle-xcode-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/de.felixschulze.gradle/gradle-xcode-plugin/ -->
<dependency>
    <groupId>de.felixschulze.gradle</groupId>
    <artifactId>gradle-xcode-plugin</artifactId>
    <version>0.5</version>
</dependency>
// https://jarcasting.com/artifacts/de.felixschulze.gradle/gradle-xcode-plugin/
implementation 'de.felixschulze.gradle:gradle-xcode-plugin:0.5'
// https://jarcasting.com/artifacts/de.felixschulze.gradle/gradle-xcode-plugin/
implementation ("de.felixschulze.gradle:gradle-xcode-plugin:0.5")
'de.felixschulze.gradle:gradle-xcode-plugin:jar:0.5'
<dependency org="de.felixschulze.gradle" name="gradle-xcode-plugin" rev="0.5">
  <artifact name="gradle-xcode-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.felixschulze.gradle', module='gradle-xcode-plugin', version='0.5')
)
libraryDependencies += "de.felixschulze.gradle" % "gradle-xcode-plugin" % "0.5"
[de.felixschulze.gradle/gradle-xcode-plugin "0.5"]

Dependencies

compile (3)

Group / Artifact Type Version
xmlwise : xmlwise jar 1.2.11
de.felixschulze.teamcity : teamcity-status-message-helper jar 0.1+
org.eclipse.jgit : org.eclipse.jgit jar 2.3.1.201302201838-r

Project Modules

There are no modules declared in this project.

gradle-xcode-plugin Build Status License

A gradle plugin for building xcode projects.

Basic usage

Add to your build.gradle

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'de.felixschulze.gradle:gradle-xcode-plugin:0.5+'
    }
}

apply plugin: 'xcode'

Tasks

  • xcodeBuild : Build project
  • xcodeClean : Clean project and delete build directory
  • xcodeTest : Run XCTests
  • clangScanBuild : Run clang scan-build
  • ghunitTest : Run GHUnit Tests

Advanced usage

Add to your build.gradle

xcode {
    teamCityLog = true
    xcodeWorkspace = "AutoScout.xcworkspace"
    xcodeScheme = "AutoScout24"
    xcodeSdk = "iphonesimulator7.0"
    xcodeConfiguration = "Debug"
    teamCityLog = true
    iosSimPath = "/usr/local/bin/ios-sim"
    ghunitAppName = "AutoScout24ViewTests"
    ghunitXcodeScheme = "AutoScout24ViewTests"
}
  • teamCityLog: Add features for TeamCity
  • xcodeWorkspace: Path to .xcworkspace file
  • xcodeScheme: The scheme name
  • xcodeSdk: The SDK to build for
  • xcodeConfiguration: The Configuration to build for
  • iosSimPath: Path to ios-sim
  • ghunitAppName: The app name from the gh-unit test target
  • ghunitXcodeScheme: The scheme name for the gh-unit test

Changelog

Releases

License

gradle-xcode-plugin is available under the MIT license. See the LICENSE file for more info.

Versions

Version
0.5
0.4
0.3
0.2
0.1.1
0.1