-
-
Notifications
You must be signed in to change notification settings - Fork 6
MavenResolver
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.
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/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 performfast sync.- These libraries will be included as runtime 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 performfast sync.
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 performfast sync.