Port to ClassGraph (#30)

* Port to ClassGraph

* Migrate to Minecrell plugin-yml

This allows us to load libraries at runtime instead of using shading & creating massive JAR files.

* Fix constructor modifiers of cake command

* Fix improper usage of CommandMap
This commit is contained in:
allinkdev
2023-08-21 23:39:50 +01:00
committed by GitHub
parent bec93a9142
commit 18951fa120
13 changed files with 99 additions and 65 deletions

View File

@ -16,6 +16,12 @@ dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter'
}
bukkit {
main = "fns.fossil.Fossil"
description = "The Fun Module for the Freedom Network."
depend = ["Datura", "Patchwork"]
}
test {
useJUnitPlatform()
}

View File

@ -40,7 +40,7 @@ import org.jetbrains.annotations.NotNull;
@Permissive(perm = "fossil.cake")
public class CakeCommand extends Commander
{
protected CakeCommand(final @NotNull JavaPlugin plugin)
public CakeCommand(final @NotNull JavaPlugin plugin)
{
super(plugin);
}

View File

@ -1,9 +0,0 @@
name: Fossil
version: 1.0
main: fns.fossil.Fossil
api-version: 1.20
author: TotalFreedom
description: The Fun Module for the Freedom Network.
depend:
- Datura
- Patchwork