Skip to content

Commit

Permalink
feat: add plugin description, license, sourceUrl and temporary logo
Browse files Browse the repository at this point in the history
  • Loading branch information
duruer committed Jun 1, 2024
1 parent f5e2f0b commit b1cc52e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,20 @@ tasks {
val pluginId: String by project
val pluginClass: String by project
val pluginProvider: String by project
val pluginDescription: String by project
val pluginLicense: String by project
val pluginDependencies: String by project
val pluginSourceUrl: String by project

manifest {
attributes["Plugin-Class"] = pluginClass
attributes["Plugin-Id"] = pluginId
attributes["Plugin-Version"] = version
attributes["Plugin-Provider"] = pluginProvider
attributes["Plugin-Description"] = pluginDescription
attributes["Plugin-License"] = pluginLicense
attributes["Plugin-Dependencies"] = pluginDependencies
attributes["Plugin-Source-Url"] = pluginSourceUrl
}

archiveFileName.set("$pluginId-$version.jar")
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ pluginId=pano-plugin-announcement
pluginClass=com.panomc.plugins.announcement.AnnouncementPlugin
pluginProvider=Pano
pluginDependencies=
pluginDescription=Create, edit and manage your Minecraft server announcements!
pluginSourceUrl=https://github.com/panomc/pano-plugin-announcement
pluginLicense=GPLv3
pf4jVersion=3.11.1
vertxVersion=4.5.7
gsonVersion=2.11.0
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/config.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
logo-file=parsek.png
banner-file=sadasdsa
Binary file added src/main/resources/parsek.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b1cc52e

Please sign in to comment.