Skip to main content
Version: AMF v5.x.x

Add AMF to your project

To run AMF in your application, you'll need add AMF to your dependencies and then configure AMF to use it in your code.

Download AMF artifacts

You can download the necessary AMF artifacts from:

Add AMF to your dependencies

The following example shows how to add AMF to your project using Gradle, Maven, or NPM.

// add mulesoft repository
repositories {
maven {
url 'https://repository-master.mulesoft.org/nexus/content/repositories/releases'
}
}
dependencies {
implementation 'com.github.amlorg:amf-api-contract_2.12:5.y.z'
}

NOTE: you may use the -SNAPSHOT versions of the artifacts at your own risk since those snapshot versions may contain breaking changes.