[announce] explicitly skip artifacts with sdkman
@@ -68,6 +68,12 @@ public class SdkmanAnnouncer implements Announcer {
continue;
}
+ if (artifact.getExtraProperties().containsKey("skipSdkman")) {
+ context.getLogger().debug("Artifact {} is explicitly skipped.",
+ artifact.getEffectivePath(context, distribution).getFileName());
+ continue;
+ }
+
String platform = mapPlatform(artifact.getPlatform());
String url = artifactUrl(distribution, artifact);
if (platforms.containsKey(platform)) {
