addonscript-spec/docs/schema/repository.md

643 B

Repository Object

{
  "id": "asrepo",
  "type": "api",
  "url": "https://addonscript.net/repo"
}

Required properties

id

This is the ID of the repository. It has to be unique to the AddonScript file.

type

This is the type of the repository. Possible values are api or maven.

url

This is the base URL of the repository. While other URLs in AddonScript can have different schemes, the base URL has to be a http(s) URL. If it is a maven repository the scheme can also be file, where it points to a directory, which contains the maven repository.