Skip to content

Commit

Permalink
Merge branch 'master' into database-serializers
Browse files Browse the repository at this point in the history
  • Loading branch information
dlsf authored Sep 4, 2024
2 parents a3bef45 + 1cb2f68 commit 3246a4d
Show file tree
Hide file tree
Showing 42 changed files with 408 additions and 194 deletions.
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Bug Report
description: Create a report to help us improve IridiumSkyblock!
labels: ["bug", "unconfirmed"]
assignees: ["PeachesMLG", "dlsf", "sh0inx"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: markdown
attributes:
value: Before submitting a new issue, ensure your bug hasn't already been reported. If it has, reply to the open issue instead.
- type: textarea
id: reproduction
validations:
required: true
attributes:
label: Steps to Reproduce
description: Provide clear and unambiguous steps on how to reproduce the bug
placeholder: |
1. Do this
2. Click on this
3. See error
- type: textarea
id: expected_behavior
validations:
required: true
attributes:
label: Expected Behavior
description: Describe what you expected to happen
- type: textarea
id: actual_behavior
validations:
required: true
attributes:
label: Actual Behavior
description: Describe what actually happened
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: Optionally, add some screenshots to show the issue
- type: input
id: minecraft_version
validations:
required: true
attributes:
label: Server Software & Minecraft Version
description: Please copy and paste the output of `/version`, "latest" is not helpful
- type: input
id: skyblock_version
validations:
required: true
attributes:
label: IridiumSkyblock version
description: Please copy and paste the output of `/is version`, "latest" is not helpful
- type: input
id: logs
attributes:
label: Server logs
description: "If there are error messages in your console, please send them via [this](https://mclo.gs)"
- type: textarea
id: additional_comments
attributes:
label: Additional Comments
description: Optionally, add further comments which may enhance the issue
71 changes: 51 additions & 20 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ plugins {
java
`maven-publish`
id("com.github.johnrengelman.shadow") version "8.1.1"
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
}

group = "com.iridium"
version = "4.1.0"
description = "IridiumSkyblock"
description = "Skyblock Redefined"

repositories {
mavenCentral()
Expand All @@ -24,24 +25,51 @@ dependencies {
implementation("org.jetbrains:annotations:24.1.0")
implementation("com.j256.ormlite:ormlite-core:6.1")
implementation("com.j256.ormlite:ormlite-jdbc:6.1")
implementation("com.iridium:IridiumTeams:2.5.7")
implementation("com.iridium:IridiumTeams:2.5.8")
implementation("commons-lang:commons-lang:2.6")

// Other dependencies that are not required or already available at runtime
compileOnly("org.projectlombok:lombok:1.18.32")
compileOnly("org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT")
compileOnly("org.projectlombok:lombok:1.18.34")
compileOnly("org.spigotmc:spigot-api:1.21.1-R0.1-SNAPSHOT")
compileOnly("com.github.MilkBowl:VaultAPI:1.7.1")
compileOnly("net.ess3:EssentialsXSpawn:2.16.1")
compileOnly("com.sk89q.worldedit:worldedit-bukkit:7.2.13-SNAPSHOT")

// Enable lombok annotation processing
annotationProcessor("org.projectlombok:lombok:1.18.32")
annotationProcessor("org.projectlombok:lombok:1.18.34")
}

bukkit {
main = "com.iridium.iridiumskyblock.IridiumSkyblock"
apiVersion = "1.13"
author = "Peaches_MLG"
authors = listOf("das_", "sh0inx", "SlashRemix", "Faun471")
website = "https://www.spigotmc.org/resources/62480"

loadBefore = listOf("Multiverse-Core")
depend = listOf("Vault")
softDepend = listOf(
"MVdWPlaceholderAPI",
"PlaceholderAPI",
"Essentials",
"EssentialsSpawn",
"RoseStacker",
"WorldEdit",
"ObsidianStacker"
)

commands {
register("iridiumskyblock") {
description = "Main plugin command"
aliases = listOf("is", "island")
}
}
}

tasks {
// "Replace" the build task with the shadowJar task (probably bad but who cares)
jar {
dependsOn("shadowJar")
enabled = false
// Add the shadowJar task to the build task
build {
dependsOn(shadowJar)
}

shadowJar {
Expand All @@ -52,10 +80,23 @@ tasks {
archiveClassifier.set("")

// Relocate dependencies
relocate("com.iridium.iridiumteams")
relocate("com.iridium.iridiumcore")
relocate("com.j256.ormlite")
relocate("org.bstats")
relocate("de.jeff_media.updatechecker")
relocate("org.bstats")
relocate("org.intellij.lang.annotations")
relocate("org.jetbrains.annotations")
relocate("org.jnbt")

// Relocate IridiumCore dependencies
relocate("de.tr7zw.changeme.nbtapi")
relocate("com.iridium.iridiumcolorapi")
relocate("org.yaml.snakeyaml")
relocate("io.papermc.lib")
relocate("com.cryptomorin.xseries")
relocate("com.fasterxml.jackson")
relocate("org.apache.commons")

// Remove unnecessary files from the jar
minimize()
Expand All @@ -66,16 +107,6 @@ tasks {
options.encoding = "UTF-8"
}

// Process Placeholders for the plugin.yml
processResources {
filesMatching("**/plugin.yml") {
expand(rootProject.project.properties)
}

// Always re-run this task
outputs.upToDateWhen { false }
}

compileJava {
sourceCompatibility = JavaVersion.VERSION_1_8.toString()
targetCompatibility = JavaVersion.VERSION_1_8.toString()
Expand Down
Loading

0 comments on commit 3246a4d

Please sign in to comment.