diff --git a/build.gradle b/build.gradle index ac45723..68fea7a 100644 --- a/build.gradle +++ b/build.gradle @@ -118,4 +118,16 @@ version = findProperty("version") compileJava.options.encoding = 'UTF-8' build.dependsOn shadowJar -build.dependsOn publishToMavenLocal \ No newline at end of file +build.dependsOn publishToMavenLocal + +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