File tree Expand file tree Collapse file tree 2 files changed +53
-1
lines changed
Expand file tree Collapse file tree 2 files changed +53
-1
lines changed Original file line number Diff line number Diff line change 11# SimpleClientAPI
2- Server API for SimpleClient
2+
3+ SimpleClientAPI is the Bukkit/Spigot/Paper API for SimpleClient to enable/disable Legacy PvP.
4+
5+ ### Download
6+ [ here] ( https://github.com/SimpleClientDevelopment/SimpleClientAPI/releases/latest )
7+
8+ ### Gradle
9+ ``` gradle
10+ repositories {
11+ maven { url = 'https://maven.pkg.github.com/SimpleClientDevelopment/SimpleClientAPI' }
12+ }
13+ ```
14+ ``` gradle
15+ dependencies {
16+ modImplementation "simpleclient:simpleclient-api:VERSION"
17+ }
18+ ```
19+
20+ ### Maven
21+ ``` xml
22+ <repositories >
23+ <repository >
24+ <id >simpleclient-api</id >
25+ <url >https://maven.pkg.github.com/SimpleClientDevelopment/SimpleClientAPI</url >
26+ </repository >
27+ </repositories >
28+ ```
29+ ``` xml
30+ <dependency >
31+ <groupId >simpleclient</groupId >
32+ <artifactId >simpleclient-api</artifactId >
33+ <version >VERSION</version >
34+ </dependency >
35+ ```
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ plugins {
22 id ' java'
33 id ' xyz.jpenilla.run-paper' version ' 2.1.0'
44 id ' com.github.breadmoirai.github-release' version ' 2.4.1'
5+ id ' maven-publish'
56}
67
78group = ' simpleclient-api'
@@ -50,4 +51,22 @@ githubRelease {
5051 dryRun false
5152 apiEndpoint ' https://api.github.com'
5253 client
54+ }
55+
56+ publishing {
57+ repositories {
58+ maven {
59+ name = ' GitHubPackages'
60+ url = ' https://maven.pkg.github.com/SimpleClientDevelopment/SimpleClientAPI'
61+ credentials {
62+ username = ' FabiPunktExe'
63+ password = System . getenv(' GITHUB_TOKEN' )
64+ }
65+ }
66+ }
67+ publications {
68+ gpr(MavenPublication ) {
69+ from components. java
70+ }
71+ }
5372}
You can’t perform that action at this time.
0 commit comments