public static String getSbtVersionFromProperties()

in tc-sbt-runner-agent/src/main/java/jetbrains/buildServer/sbt/SbtVersionDetector.java [111:121]


    public static String getSbtVersionFromProperties(@NotNull Map<String, String> properties) {
        if (!"sbt".equals(properties.get("name"))) {
            return null;
        }
        String version = properties.get("version");
        Matcher matcher = SBT_VERSION.matcher(version);
        if (!matcher.find()) {
            return null;
        }
        return matcher.group(0);
    }