MavenResolver

interface MavenResolver

Functions

Link copied to clipboard
abstract fun addDependency(owningClass: Class<*>?, dependency: Dependency)

Add a dependency to the resolver. This will load it into the classpath, meaning you don't have to shade it into your shard.

Link copied to clipboard
abstract fun addRepository(owningClass: Class<*>?, repository: RemoteRepository)

Add a repository to the resolver. This will allow you to load dependencies from remote repositories, such as Maven Central or JitPack.