Gradle introduces native plugins for building Swift libraries and applications on macOS and Linux. The plugins integrate with Gradle's dependency management, build cache, composite builds, and parallel execution. Key features include XCTest support with JUnit/HTML reporting, Xcode IDE integration via `./gradlew openXcode`, debug/release build variants, source dependencies, and configurable target machines. Swift compilation is a cacheable task, enabling faster CI and developer builds. The plugins ship with Gradle 5.6 alongside new documentation chapters for building and testing Swift projects.

7m read timeFrom blog.gradle.org
Post cover image
Table of contents
Table of ContentsIntroductionBuilding an application #IDE support #Dependencies #Tests #Fast builds #Composite builds #Documentation #Providing Feedback #Discuss

Sort: