public static int configHash(Set<String> artifacts, Set<MavenRepository> repositories) {
        int result = 0;
        for (String artifact : artifacts) {
            result = 31 * result + getFnvHash(artifact);
        }
        for (MavenRepository repo : repositories) {
            result = 31 * result + getFnvHash(repo.getUrl());
        }
        return result;
    }
Computes the combined hash of the artifact set and repositories set.

@param artifacts set of requested artifact coordinates
@param repositories set of repositories used for dependency resolution
@return combined hash
smithy-cli/src/main/java/software/amazon/smithy/cli/commands/ConfigurationUtils.java