diff --git a/build.gradle b/build.gradle index f36b8a4..2581a3e 100644 --- a/build.gradle +++ b/build.gradle @@ -117,5 +117,18 @@ version = findProperty("version") compileJava.options.encoding = 'UTF-8' + build.dependsOn shadowJar 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