-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gradle): publish build artifacts to maven
- Loading branch information
Showing
5 changed files
with
42 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,42 @@ | ||
[![Build Status](https://github.com/mcSilthus/spigot-plugin-template/workflows/Build/badge.svg)](https://github.com/mcSilthus/spigot-plugin-template/actions?query=workflow%3ABuild) | ||
[![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/mcSilthus/spigot-plugin-template?include_prereleases&label=release)](https://github.com/mcSilthus/spigot-plugin-template) | ||
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) | ||
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
|
||
# Workspace Setup | ||
|
||
You can use this template to develop your own Spigot plugins with [Gradle](https://gradle.org/). | ||
You can use this template to develop your own Spigot plugins with [Gradle](https://gradle.org/). | ||
|
||
## Supported Versions | ||
|
||
| Version | Support | | ||
| ------- | :-----: | | ||
| 1.8.8 | ✔️ | | ||
| 1.12.2 | ✔️ | | ||
| 1.13.2 | ✔️ | | ||
| 1.14.4 | ✔️ | | ||
| 1.15.2 | ✔️ | | ||
|
||
| 1.8.8 | ✔️ | | ||
| 1.12.2 | ✔️ | | ||
| 1.13.2 | ✔️ | | ||
| 1.14.4 | ✔️ | | ||
| 1.15.2 | ✔️ | | ||
|
||
## Setup Template | ||
|
||
> **Note** This setup is actual only for IntelliJ | ||
> **Note** This setup is actual only for IntelliJ | ||
- Create a new Github project using this template | ||
- Clone this repository and open it in IntelliJ | ||
- Import the project with gradle | ||
- Go into the gradle.properties file and update the variables. | ||
- Go into the gradle.properties file and update the variables. | ||
- Then execute the **setupServer** run configuration and the template will download the server jar file. | ||
|
||
Then you can start coding :) | ||
|
||
|
||
## Deploy Task | ||
|
||
You can export your plugin to the plugins directory from your working directory with the Gradle **deploy task**. The task will **build and copy** your plugin **automatically**. | ||
|
||
You can export your plugin to the plugins directory from your working directory with the Gradle **deploy task**. The task will **build and copy** your plugin **automatically**. | ||
|
||
## Debugging the Server | ||
|
||
You can use and debug the installed test server by running the Server run configuration. Every time you start the server, the plugin will be deployed. You can disable it, when you edit the Server run configuration. | ||
|
||
|
||
## Important info | ||
|
||
By using this template and starting the server, you agree to the Minecraft EULA automatically, because in this template is the eula file, because then you dont have to agree manually. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
version = 1.0.0 | ||
group = net.silthus | ||
packageName = spigot-template | ||
version = 1.1.0-SNAPSHOT | ||
pluginName = PluginName | ||
author = Silthus | ||
group = com.silthus | ||
apiVersion = 1.15 | ||
mcVersion = 1.15.2 | ||
packageName = net.silthus.template | ||
pluginFolder = | ||
artifactory_contextUrl=https://artifactory.silthus.net/artifactory | ||
pluginFolder = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters