Skip to content

Conversation

@tajobe
Copy link
Member

@tajobe tajobe commented May 21, 2025

Added

  • MIT license

Changed

  • MC 1.21, Java 21, Kotlin 2.1

Fixed

  • Config Auto-reload is now a repeating task as intended
  • Config actually created on first run
  • Copy updated default header when config is updated

...the list of commits is a bit weird since this involved a merge with --allow-unrelated-histories, also making it hard to manually squash the commits...

tajobe and others added 17 commits February 8, 2020 18:23
* Added basic project template

* Make gradle executable again

* Fixed typos from templatizing SimpleHealthbars2
* Ensure the base jar is ready for use

Standard jar is the full-fat jar with all dependencies (kotlin stdlib included)
Added `nokt` task to create a shadowed jar excluding kotlin stdlib

* Updated release action jar reference
* Update dependencies to latest and improve plugin artifacts

Update java, kotlin, gradle, spigot, ktlint, etc
Switch to incrementMinorIfNotOnRelease version incrementer
Improved packaging/artifacts by providing a plugin jar that will load libs (via spigot's `libraries` in plugin.yml) and an "offline" shadowed/fat jar
shadowJar dependency relocation to prevent classpath pollution
Simplify automated CHANGELOG update by making the format predictable

* \N sequence was not working for changelog regex, replace with negated \n

* Use default 'v' tag prefix instead of 'release-'

* Fix first tag link

* Release version: 0.1.0

* Revert "Release version: 0.1.0" as it was just a test

This reverts commit 919b163f1dc009ad4c7cb54e496ced292b201f05.

* Add comment explaining the plugin.yml offline copy

* Replace jcenter with mavenCentral
Update Action workflows to include a flow for manual releasing and automated publishing
Update Gradle dependencies to latest--Gradle wrapper, kotlin, plugins, spigot-api
Update README to include some basic instructions for using the template repo and example plugins
@tajobe tajobe requested review from a team and Puremin0rez May 21, 2025 01:04
jvmTarget = "1.8"
processResources {
// inject runtime libraries into online plugin variant
val libraries = configurations.runtimeClasspath.get().resolvedConfiguration.resolvedArtifacts
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Injecting libraries placeholder is a good candidate to move into the template repo. Without this, any libraries added to the gradle build need to be manually added to the plugin.yml libraries: list for the non-fat jar distribution to function.

@tajobe tajobe merged commit 1c92aec into main May 21, 2025
1 check passed
@tajobe tajobe deleted the feature/template-merge branch May 24, 2025 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants