Commit Graph

23 Commits

Author SHA1 Message Date
Taah 0c3c9daa64 fix to work with gradle 7.4 2022-04-10 15:41:07 -07:00
56738 973756cc6b
Add libraries support (#12)
Closes #11
2021-07-16 15:52:00 +02:00
Jason Penilla 5e1f0bc577
Add a resource directory to the main source set instead of adding
resources using processResources

This allows for IDEs to recognize the generated resources.

This also fixes an issue where sometimes running `clean build`
would cause 'java.io.IOException: Unable to delete directory',
although this fix may also be due to the new approach no longer
creating a temporary directory.
2021-05-30 15:29:22 -07:00
Minecrell 886351c1ae Fixup incremental builds
Get rid of all the Serializable mess and instead use @ Nested to
tell Gradle to look at the plugin descriptions directly.

This means that we need some annotation mess inside the plugin
description classes though. :D
2021-04-30 18:46:16 +02:00
Minecrell 5fff9cf695 Fix permissions generation when using register("...")
It looks like asMap(...) doesn't return lazily registered values.
Might be a bug, but using .associateBy { it.name } is at least as simple
and does not have that problem.
2021-04-30 11:56:53 +02:00
Minecrell c60658d745 bukkit: Add missing @JsonIgnore to permission list
Also simply the setter to use .associate { ... }
2021-04-30 11:31:12 +02:00
Minecrell b976a8e983 Update for Gradle 7.0, update jackson dependencies 2021-04-30 11:18:02 +02:00
Mariell Hoversholm 36ec001e8e
Add Bukkit's new `provides` field. (#8)
Commit adding this field: 9f2fd967a4 (src)/main/java/org/bukkit/plugin/PluginDescriptionFile.java
2021-04-30 10:15:16 +02:00
Mariell Hoversholm 2b2627e2db Make Bukkit permissions support maps 2021-04-30 10:14:10 +02:00
Minecrell 9f4b8d012e Avoid generating empty collections/maps in plugin description files 2018-07-24 15:56:38 +02:00
Minecrell 6ef1128cd8 Validate command names on Bukkit and Nukkit 2018-07-24 15:42:22 +02:00
Minecrell c7169d6ad0 Drop default-permission from NukkitPluginDescription 2018-07-24 15:42:00 +02:00
Minecrell 0bfdf85389 Fix missing new lines at EOF 2018-07-24 14:53:20 +02:00
Minecrell 85b60f7cb6 Extend validation of plugin descriptions 2018-07-24 14:52:09 +02:00
Minecrell 3a69424fe3 Add "The MIT License" to license header 2018-07-24 14:16:14 +02:00
Minecrell 1065c6a3cb Add `@JsonIgnore` to Bukkit command/permission name 2018-07-24 14:13:03 +02:00
Minecrell fd34d311e1 Add Bukkit api-version, closes #3 2018-07-24 14:09:46 +02:00
Minecrell e7ed8a63ad Change order of modifiers in PlatformPlugin 2018-07-24 14:08:00 +02:00
DevSrSouza b98f371662 nukkit support 2018-07-16 13:29:43 -03:00
Minecrell 6c0687a3c1 Fix GitHub's license detection 2018-03-27 19:09:49 +02:00
Minecrell 66df17c5a0 Check for JavaPlugin instead of JavaBasePlugin when looking for processResources
Change version to 0.2.1-SNAPSHOT
2017-10-07 14:50:02 +02:00
Minecrell e58781164e Add support for single author on Bukkit and set it by default 2017-09-29 17:02:54 +02:00
Minecrell 04e679a461 Initial Commit 2017-09-27 21:03:28 +02:00