From ffbe0d4e6c9f020826f2a4bb9bdcd3f2a1b815ab Mon Sep 17 00:00:00 2001 From: Auxilor Date: Fri, 18 Feb 2022 15:09:33 +0000 Subject: [PATCH] Added messages to build.gradle --- build.gradle | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build.gradle b/build.gradle index f74bb85..ff894fe 100644 --- a/build.gradle +++ b/build.gradle @@ -104,3 +104,15 @@ archivesBaseName = project.name version = findProperty("version") build.dependsOn shadowJar + +task buyThePlugins { + dependsOn subprojects.build + + doLast { + println 'If you like the plugin, please consider buying it on Spigot or Polymart!' + println 'Spigot: https://www.spigotmc.org/resources/authors/auxilor.507394/' + println 'Polymart: https://polymart.org/user/auxilor.1107/' + println 'Buying gives you access to support and the plugin auto-updater, and it allows me to keep developing plugins.' + } +} +build.finalizedBy buyThePlugins \ No newline at end of file