Skip to content

MavenResolver

Jewel Shikder Jony edited this page Apr 28, 2026 · 6 revisions

FAST v2.0.0+ comes with the support for resolving remote dependencies with Apache Maven Artifact Resolver.

NOTE: Gradle Resolver will use the same configuration as MavenResolver.

🧡 Default Repositories

  1. Maven Central
  2. Google Maven

❓️ How to add custom repositories?

If the library you want to use is not available in default repositories, add them in fast.yml by specifying their URLs like below:

repositories:
- https://jitpack.io/
- https://jcenter.bintray.com/

❓️ How to use remote dependencies?

Before adding any libraries make sure that the repositories is present in default repositories or you've added the custom repo here.

Including remote dependencies into your project is super easy. See example below:

dependencies:
- com.startapp:inapp-sdk:5.1.0
- androidx.viewpager2:viewpager2:1.0.0
  • ⚠️ To resolve these libraries and their transitive dependencies into your project, you should perform fast sync.
  • These libraries will be included as runtime dependencies.

👨‍💻 Resolving Compile-time dependencies

Before adding any libraries make sure that the repositories is present in default repositories or you've added the custom repo here.

Compile-time dependencies will not be included with the extension. But these may be required during compilation process. See example below:

compile_time:
- androidx.browser:browser:1.0.0
  • ⚠️ You should perform fast sync.

🚫 Exclusion

Define dependencies those are should be skipped during resolving. See example below:

excludes:
- androidx.tracing:tracing:1.0.0
- org.jetbrains.kotlin:kotlin-stdlib:*
  • ⚠️ You should perform fast sync.

Clone this wiki locally