Local repositories enable you to deploy Swift (.swift
) packages. Artifactory calculates the metadata for all packages and indexes them to allow users to download these packages through the Swift client.
Artifactory allows you to define any layout for your Swift registries. In order to upload packages according to your custom layout, you need to package your Swift files using the Swift source archive. This creates the .zip
file for your package which you can then upload to any path within your local Swift repository.
To create a Swift local repository:
Navigate to the Administration module, and go to Repositories | Repositories | Local | New Local Repository.
Select Swift as the Package Type.