mirror of
https://github.com/plexusorg/Plex.git
synced 2024-10-31 17:17:12 +00:00
just so i dont have to update the documentation lol
This commit is contained in:
parent
5fd22ba582
commit
bfdce97271
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -23,7 +23,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archiveArtifacts artifacts: "**/build/libs/*.jar", fingerprint: true
|
archiveArtifacts artifacts: "build/libs/*.jar", fingerprint: true
|
||||||
javadoc javadocDir: "api/build/docs/javadoc", keepAll: false
|
javadoc javadocDir: "api/build/docs/javadoc", keepAll: false
|
||||||
discordSend description: "**Build:** ${env.BUILD_NUMBER}\n**Status:** ${currentBuild.currentResult}", enableArtifactsList: true, footer: "Built with Jenkins", link: env.BUILD_URL, result: currentBuild.currentResult, scmWebUrl: "https://github.com/plexusorg/Plex", showChangeset: true, title: env.JOB_NAME, webhookURL: env.PLEX_WEBHOOK_URL
|
discordSend description: "**Build:** ${env.BUILD_NUMBER}\n**Status:** ${currentBuild.currentResult}", enableArtifactsList: true, footer: "Built with Jenkins", link: env.BUILD_URL, result: currentBuild.currentResult, scmWebUrl: "https://github.com/plexusorg/Plex", showChangeset: true, title: env.JOB_NAME, webhookURL: env.PLEX_WEBHOOK_URL
|
||||||
cleanWs()
|
cleanWs()
|
||||||
|
@ -6,6 +6,16 @@ jar {
|
|||||||
archiveBaseName.set("Plex-API")
|
archiveBaseName.set("Plex-API")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks {
|
||||||
|
jar {
|
||||||
|
finalizedBy(rootProject.tasks.copyJars)
|
||||||
|
}
|
||||||
|
|
||||||
|
shadowJar {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
publications {
|
publications {
|
||||||
maven(MavenPublication) {
|
maven(MavenPublication) {
|
||||||
|
@ -36,5 +36,4 @@ public class AdminAddEvent extends Event
|
|||||||
{
|
{
|
||||||
return handlers;
|
return handlers;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,6 @@ import org.jetbrains.annotations.NotNull;
|
|||||||
@Data
|
@Data
|
||||||
public class GameModeUpdateEvent extends Event
|
public class GameModeUpdateEvent extends Event
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
||||||
|
|
||||||
private final CommandSender sender;
|
private final CommandSender sender;
|
||||||
|
@ -11,7 +11,6 @@ import org.bukkit.event.HandlerList;
|
|||||||
@Getter
|
@Getter
|
||||||
public class PunishedPlayerMuteEvent extends PunishedPlayerEvent implements Cancellable
|
public class PunishedPlayerMuteEvent extends PunishedPlayerEvent implements Cancellable
|
||||||
{
|
{
|
||||||
|
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -7,7 +7,6 @@ import org.bukkit.permissions.PermissionAttachment;
|
|||||||
|
|
||||||
public interface IPlexPlayer
|
public interface IPlexPlayer
|
||||||
{
|
{
|
||||||
|
|
||||||
String getId();
|
String getId();
|
||||||
|
|
||||||
UUID getUuid();
|
UUID getUuid();
|
||||||
|
@ -6,7 +6,6 @@ import org.json.JSONObject;
|
|||||||
|
|
||||||
public interface IRank
|
public interface IRank
|
||||||
{
|
{
|
||||||
|
|
||||||
int getLevel();
|
int getLevel();
|
||||||
|
|
||||||
String getLoginMessage();
|
String getLoginMessage();
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "java"
|
id "java"
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
|
id "com.github.johnrengelman.shadow" version "7.1.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "dev.plex"
|
group = "dev.plex"
|
||||||
@ -10,6 +11,7 @@ description = "Plex"
|
|||||||
subprojects {
|
subprojects {
|
||||||
apply plugin: "java"
|
apply plugin: "java"
|
||||||
apply plugin: "maven-publish"
|
apply plugin: "maven-publish"
|
||||||
|
apply plugin: "com.github.johnrengelman.shadow"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
@ -56,3 +58,9 @@ subprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
task copyJars(type: Copy, dependsOn: subprojects.jar) {
|
||||||
|
from(subprojects.jar)
|
||||||
|
from(subprojects.shadowJar)
|
||||||
|
into project.file('build/libs')
|
||||||
|
}
|
@ -1,6 +1,5 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "net.minecrell.plugin-yml.bukkit" version "0.6.1-SNAPSHOT"
|
id "net.minecrell.plugin-yml.bukkit" version "0.6.1-SNAPSHOT"
|
||||||
id "com.github.johnrengelman.shadow" version "7.1.2"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@ -104,6 +103,10 @@ tasks {
|
|||||||
enabled = false
|
enabled = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
shadowJar {
|
||||||
|
finalizedBy(rootProject.tasks.copyJars)
|
||||||
|
}
|
||||||
|
|
||||||
javadoc {
|
javadoc {
|
||||||
options.memberLevel = JavadocMemberLevel.PRIVATE
|
options.memberLevel = JavadocMemberLevel.PRIVATE
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user