[announce] support jlink and native-image distros in sdkman. Resolves
@@ -121,7 +121,9 @@ public class SdkmanAnnouncer implements Announcer {
}
private boolean isDistributionSupported(Distribution distribution) {
- return distribution.getType() == Distribution.DistributionType.JAVA_BINARY &&
+ return (distribution.getType() == Distribution.DistributionType.JAVA_BINARY ||
+ distribution.getType() == Distribution.DistributionType.JLINK ||
+ distribution.getType() == Distribution.DistributionType.NATIVE_IMAGE) &&
!distribution.getExtraProperties().containsKey("sdkmanSkip");
}
