Skip to content

Maven Central 6.2.0

Choose a tag to compare

@andriydruk andriydruk released this 07 Feb 20:51
6.2.0
5fe81ae

Breaking Changes

This release replaces the custom Swift Android Toolchain with swiftly and the official Swift Android SDK. The SWIFT_ANDROID_HOME and ANDROID_NDK_HOME environment variables are no longer required.

What's Changed

  • Migrated to swiftly - Builds now use swiftly run swift build --swift-sdk instead of the custom swift-android-build wrapper
  • Removed ToolchainHandle - No longer reads SWIFT_ANDROID_HOME or ANDROID_NDK_HOME from environment or local.properties. The SDK bundles its own ndk-sysroot
  • Removed x86 (i686) architecture - Only arm64-v8a, armeabi-v7a, and x86_64 are supported
  • Removed swiftLint task - Linting should be handled via SwiftPM plugins
  • Default API level changed from 24 to 29

New Configuration Options

swift {
    swiftlyPath "/path/to/swiftly" // default: ~/.swiftly/bin/swiftly
    swiftlyVersion "6.2" // default: "6.2"
    swiftSdkPath "/path/to/sdk.artifactbundle"  // default: ~/Library/org.swift.swiftpm/swift-sdks/readdle-swift-6.2.1-RELEASE_android.artifactbundle
    apiLevel 31
}