just so i dont have to update the documentation lol

This commit is contained in:
Telesphoreo 2022-04-24 00:43:54 -05:00
parent 5fd22ba582
commit bfdce97271
No known key found for this signature in database
GPG Key ID: B5CDDEBA526C0130
9 changed files with 23 additions and 7 deletions

2
Jenkinsfile vendored
View File

@ -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()

View File

@ -6,6 +6,16 @@ jar {
archiveBaseName.set("Plex-API")
}
tasks {
jar {
finalizedBy(rootProject.tasks.copyJars)
}
shadowJar {
enabled = false
}
}
publishing {
publications {
maven(MavenPublication) {

View File

@ -36,5 +36,4 @@ public class AdminAddEvent extends Event
{
return handlers;
}
}

View File

@ -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;

View File

@ -11,7 +11,6 @@ import org.bukkit.event.HandlerList;
@Getter
public class PunishedPlayerMuteEvent extends PunishedPlayerEvent implements Cancellable
{
private static final HandlerList handlers = new HandlerList();
/**

View File

@ -7,7 +7,6 @@ import org.bukkit.permissions.PermissionAttachment;
public interface IPlexPlayer
{
String getId();
UUID getUuid();

View File

@ -6,7 +6,6 @@ import org.json.JSONObject;
public interface IRank
{
int getLevel();
String getLoginMessage();

View File

@ -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')
}

View File

@ -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
}