mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +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 {
|
||||
always {
|
||||
archiveArtifacts artifacts: "**/build/libs/*.jar", fingerprint: true
|
||||
archiveArtifacts artifacts: "build/libs/*.jar", fingerprint: true
|
||||
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
|
||||
cleanWs()
|
||||
|
@ -6,6 +6,16 @@ jar {
|
||||
archiveBaseName.set("Plex-API")
|
||||
}
|
||||
|
||||
tasks {
|
||||
jar {
|
||||
finalizedBy(rootProject.tasks.copyJars)
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
maven(MavenPublication) {
|
||||
|
@ -36,5 +36,4 @@ public class AdminAddEvent extends Event
|
||||
{
|
||||
return handlers;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -13,7 +13,6 @@ import org.jetbrains.annotations.NotNull;
|
||||
@Data
|
||||
public class GameModeUpdateEvent extends Event
|
||||
{
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
private final CommandSender sender;
|
||||
|
@ -11,7 +11,6 @@ import org.bukkit.event.HandlerList;
|
||||
@Getter
|
||||
public class PunishedPlayerMuteEvent extends PunishedPlayerEvent implements Cancellable
|
||||
{
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
||||
/**
|
||||
|
@ -7,7 +7,6 @@ import org.bukkit.permissions.PermissionAttachment;
|
||||
|
||||
public interface IPlexPlayer
|
||||
{
|
||||
|
||||
String getId();
|
||||
|
||||
UUID getUuid();
|
||||
|
@ -6,7 +6,6 @@ import org.json.JSONObject;
|
||||
|
||||
public interface IRank
|
||||
{
|
||||
|
||||
int getLevel();
|
||||
|
||||
String getLoginMessage();
|
||||
|
@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id "java"
|
||||
id "maven-publish"
|
||||
id "com.github.johnrengelman.shadow" version "7.1.2"
|
||||
}
|
||||
|
||||
group = "dev.plex"
|
||||
@ -10,6 +11,7 @@ description = "Plex"
|
||||
subprojects {
|
||||
apply plugin: "java"
|
||||
apply plugin: "maven-publish"
|
||||
apply plugin: "com.github.johnrengelman.shadow"
|
||||
|
||||
repositories {
|
||||
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 {
|
||||
id "net.minecrell.plugin-yml.bukkit" version "0.6.1-SNAPSHOT"
|
||||
id "com.github.johnrengelman.shadow" version "7.1.2"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@ -104,6 +103,10 @@ tasks {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
finalizedBy(rootProject.tasks.copyJars)
|
||||
}
|
||||
|
||||
javadoc {
|
||||
options.memberLevel = JavadocMemberLevel.PRIVATE
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user