build: Only apply sonatype plugin when publishing

This commit is contained in:
Jason Penilla 2021-07-04 19:15:09 -07:00 committed by Jason
parent cd6fe0e120
commit d6e17a0d99

View file

@ -1,3 +1,3 @@
plugins { if (project.hasProperty("releasePublishing")) {
id("net.kyori.indra.publishing.sonatype") plugins.apply("net.kyori.indra.publishing.sonatype")
} }