@@ -2,15 +2,18 @@ BukkitGradle [
7- 2 . [ Usage] ( #usage )
8- 1 . [ First steps] ( #first-steps )
9- 2 . [ Configuring plugin] ( #configuring-plugin )
10- 1 . [ Quotes around values] ( #quotes-around-values )
11- 3 . [ Repositories and Dependencies] ( #repositories-and-dependencies )
12- 4 . [ Running Dev server] ( #running-dev-server )
13- 1 . [ Server run configurations] ( #server-run-configurations )
5+ <!-- START doctoc generated TOC please keep comment here to allow auto update -->
6+ <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
7+
8+
9+ - [ Apply plugin] ( #apply-plugin )
10+ - [ Usage] ( #usage )
11+ - [ First steps] ( #first-steps )
12+ - [ Configuring plugin] ( #configuring-plugin )
13+ - [ Repositories and Dependencies] ( #repositories-and-dependencies )
14+ - [ Running Dev server] ( #running-dev-server )
15+
16+ <!-- END doctoc generated TOC please keep comment here to allow auto update -->
1417
1518#### Features:
1619- Automatically applies plugin: java
@@ -142,13 +145,13 @@ BukkitGradle provides short extension-functions to add common repositories and d
142145There are list of its.
143146
144147Usage example :
145- ` ` ` groovy
148+ ` ` ` kotlin
146149repositories {
147150 spigot() // Adds spigot repo
148151}
149152
150153dependencies {
151- compileOnly paperApi() // Adds paper-api dependency
154+ compileOnly( paperApi() ) // Adds paper-api dependency
152155}
153156` ` `
154157
@@ -169,15 +172,14 @@ Some dependencies also applies repo needed for them.
169172
170173 Name | Signature | Applies repo
171174-------------|-----------------------------------------------|---------------
172- spigot | org.spigotmc:spigot:$apiVersion | -
175+ spigot | org.spigotmc:spigot:$apiVersion | mavenLocal
173176 spigotApi | org.spigotmc:spigot-api:$apiVersion | spigot
174177 bukkit | org.bukkit:bukkit:$apiVersion | spigot
175- craftbukkit | org.bukkit:craftbukkit:$apiVersion | -
176178 paperApi | com.destroystokyo.paper:paper-api:$apiVersion | destroystokyo
177179
178180 **Note:** `$apiVersion` - is `${version}-R0.1-SNAPSHOT` (where `$version` is `bukkit.version`)
179181
180- If you want more extension-functions - you can [write issue](https://github.com/EndlessCodeGroup/BukkitGradle/issues/new).
182+ If you need more extension-functions, [create issue](https://github.com/EndlessCodeGroup/BukkitGradle/issues/new).
181183
182184# ## Running Dev server
183185Before running server you should configure dev server location.
@@ -188,7 +190,7 @@ You can define it in `local.properties` file (that was automatically created in
188190server.dir=/path/to/buildtools/
189191` ` `
190192
191- If you use Spigot (see `bukkit.run .core`) you also should specify BuildTools location. For Paper no additional actions
193+ If you use Spigot (see `bukkit.server .core`) you also should specify BuildTools location. For Paper no additional actions
192194needed.
193195` ` ` properties
194196# Absolute path to directory that contains BuildTools.jar
@@ -208,12 +210,12 @@ server configurations.
208210# #### On other IDEs
209211Run `:startServer` task.
210212
211- # ### Server run configurations
212- To accept EULA and change settings use `bukkit.run ` section :
213+ # ### Dev server configuration
214+ To accept EULA and change settings use `bukkit.server ` section :
213215` ` ` groovy
214216bukkit {
215217 // INFO: Here used default values
216- run {
218+ server {
217219 // Core type. It can be 'spigot' or 'paper'
218220 core = "spigot"
219221 // Accept EULA
0 commit comments