aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorCallum Seabrook <[email protected]>2020-06-29 21:14:22 +0100
committerGitHub <[email protected]>2020-06-29 13:14:22 -0700
commit778d63b1963ca144b2f3ed9158f22d90d167d211 (patch)
tree7c4477d5cdbc9f222e43c8eeeaf6c29de9690cbf /README.md
parent25c14f76fc71a1fd90660a0e4287a383b45006a4 (diff)
downloadPaper-778d63b1963ca144b2f3ed9158f22d90d167d211.tar.gz
Paper-778d63b1963ca144b2f3ed9158f22d90d167d211.zip
Add Gradle usage information to README (#3700)
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
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)
</dependency>
```
+**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.