MavenCentralAPI

object MavenCentralAPI

The REST API for interacting with Sonatype Maven Central.

Author

Richard Arriaga

Functions

Link copied to clipboard
fun downloadAvailStandardLib(version: String): Long

Download the Avail Standard Library artifact of the provided version to the AvailEnvironment.availHomeLibs in "org/availlang/".

Link copied to clipboard
fun searchAvailSdk(success: (JSONReader) -> Unit, failure: (Int, String?, Throwable?) -> Unit)

Search for the Avail SDK artifact, avail.

Link copied to clipboard
fun searchAvailStdLib(success: (JSONReader) -> Unit, failure: (Int, String?, Throwable?) -> Unit)

Search for the Avail standard library artifact, avail-stdlib.

Link copied to clipboard
fun searchUrl(artifact: String): URL

Answer the URL to search for the latest version of an Avail artifact in Maven Central. This artifact is expected to stored in group, org.availlang.