paper

fun Project.paper(config: DependencyConfig, spigotConfig: SpigotConfig = SpigotConfig(), block: ExternalModuleDependency.() -> Unit = {}): List<ExternalModuleDependency>
  1. Adds the Repository.MAVEN_CENTRAL, Repository.SONATYPE_SNAPSHOTS_OLD, and Repository.PAPER repositories

  2. Adds the Paper dependency (PaperVersion.groupId:PaperVersion.artifactId:version-R0.1-SNAPSHOT)

Parameters

config

The configuration for the Paper dependency