From 778d63b1963ca144b2f3ed9158f22d90d167d211 Mon Sep 17 00:00:00 2001 From: Callum Seabrook Date: Mon, 29 Jun 2020 21:14:22 +0100 Subject: [PATCH] Add Gradle usage information to README (#3700) --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 78b995ab1b..a70156e49d 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,23 @@ How To (Plugin Developers) ``` +**Or alternatively, with Gradle:** + + * Repository: +```groovy +repositories { + maven { + url 'https://papermc.io/repo/repository/maven-public/' + } +} +``` + * Artifact: +```groovy +dependencies { + compileOnly 'com.destroystokyo.paper:paper-api:1.16.1-R0.1-SNAPSHOT' +} +``` + How To (Compiling Jar From Source) ------ To compile Paper, you need JDK 8, maven, and an internet connection.