Skip to content

Releases: jpenilla/run-task

v2.3.1

18 Aug 21:09
v2.3.1
5e03a1b
Compare
Choose a tag to compare

Changelog

Fixed

  • Build failure when trying to clear paperweight-userdev caches with run-paper applied

v2.3.0

01 May 18:03
v2.3.0
19a2afd
Compare
Choose a tag to compare

Changelog

Changed

  • Updated paperweight compatibility for Minecraft 1.20.5+
    • runMojangMappedServer has been deprecated and replaced by runDevBundleServer for clarity
    • When using 1.20.5+ dev bundles, the reobfJar will be ignored by automatic plugin detection
    • Requires updating paperweight to 1.7.0

v2.2.4

23 Apr 01:46
v2.2.4
e2c2e8f
Compare
Choose a tag to compare

Changelog

Added

  • The system property xyz.jpenilla.run-task is now set to true for run tasks.

Changed

  • No longer checks for a specific plugin ID when detecting shadowJar (adds compatibility with shadow forks)

2.2.3

02 Feb 22:27
v2.2.3
900f549
Compare
Choose a tag to compare

Changelog

Fixed

  • Gradle 8.6 compatibility

2.2.2

13 Nov 21:43
v2.2.2
133b939
Compare
Choose a tag to compare

Changelog

Changed

  • Set User-Agent to run-task when downloading plugins

Fixed

  • Modrinth metadata being wrongly validated as a jar file

2.2.1

13 Nov 04:41
v2.2.1
f8b06e7
Compare
Choose a tag to compare

Changelog

Added

  • Check that downloaded plugins are valid jar files (#35)

Fixed

  • Plugin file name instead of display name used in error message

2.2.0

21 Sep 06:58
v2.2.0
af3a27f
Compare
Choose a tag to compare

Changelog

Added

  • API to automatically download plugins for use in run tasks from Hangar, Modrinth, GitHub Releases, or a URL (#30) (thanks to @DenWav)

2.1.0

24 Apr 01:33
v2.1.0
6bb19ac
Compare
Choose a tag to compare

Changelog

Added

  • Built-in Folia DownloadsAPIService
  • Helper to register a runFolia task:
    runPaper.folia.registerTask()
    • See the KDoc in-IDE for more details about the built-in runFolia task.

2.0.1

08 Dec 22:34
v2.0.1
41aaac2
Compare
Choose a tag to compare

Changelog

Changed

  • Moved plugin jar methods to separate class (01f7ce8)
  • Improved handling of blank duration strings (4d7a871)
  • Improved DownloadsAPIService documentation (94c4452)

2.0.0

15 Nov 16:39
v2.0.0
5297908
Compare
Choose a tag to compare

Changelog

Added

  • Added run-velocity and run-waterfall plugins

Changed

  • PaperclipService renamed to DownloadsAPIService
  • Default DownloadsAPIService display name now splits on - instead of
  • RunServerTask renamed to RunServer
  • xyz.jpenilla.run-paper.updateCheckFrequency property replaced by xyz.jpenilla.run-task.updateCheckFrequency. The old property will continue to work for now, however usage will print a warning informing of the change.
  • Reworked cache layout
    • Old caches will not be deleted, they will stay in $GRADLE_USER_HOME/caches/RunPaper
    • New caches are stored in $GRADLE_USER_HOME/caches/run-task-jars/<paper|velocity|waterfall|user/$USER_SERVICE_NAME>
  • cleanPaperclipCache will not longer clear caches for custom DownloadsAPIService registrations. There are now separate tasks: cleanPaperclipCache, cleanVelocityCache, cleanWaterfallCache, cleanCustomServiceCaches, and cleanAllRunTaskCaches. The platform-specific tasks are registered by their respective plugins, the tasks for custom and all caches will exist if any one of the run-task plugins are applied. The clear all caches task will for example clear Velocity caches even if only run-paper is applied, as it deletes the entire run-task-jars directory.

Fixed

  • Fixed unintended eager task creation

Removed

  • All API deprecated in 1.1.0 is now removed
  • paperBuild convenience methods have been removed from RunServer, use the build property directly or the build convenience methods on the AbstractRun super class