Maven Central 6.2.0
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-sdkinstead of the customswift-android-buildwrapper - Removed ToolchainHandle - No longer reads
SWIFT_ANDROID_HOMEorANDROID_NDK_HOMEfrom environment orlocal.properties. The SDK bundles its ownndk-sysroot - Removed x86 (i686) architecture - Only
arm64-v8a,armeabi-v7a, andx86_64are 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
}