return createSettings(Collections.singletonList(confDir), mavenRepoLocation);
}
public static LilyRuntimeSettings createSettings(List<File> confDirs, String mavenRepoLocation) throws Exception {
LilyRuntimeSettings settings = new LilyRuntimeSettings();
settings.setConfManager(new ConfManagerImpl(confDirs));
ArtifactRepository artifactRepository = new ChainedMaven2StyleArtifactRepository(mavenRepoLocation);
settings.setRepository(artifactRepository);
return settings;