From 7878839c2e68ea1bc718e6a601fe4dc821d91f75 Mon Sep 17 00:00:00 2001 From: Dan Fox Date: Thu, 1 Oct 2020 13:59:39 +0200 Subject: [PATCH] Don't publish snapshots to gradle plugin portal --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index c87afb81..9a785f32 100644 --- a/build.gradle +++ b/build.gradle @@ -93,6 +93,10 @@ pluginBundle { } } +publishPlugins.onlyIf { + versionDetails().isCleanTag +} + tasks.withType(JavaCompile).configureEach { options.errorprone.errorproneArgs += [ '-Xep:PreferSafeLoggableExceptions:OFF',