Package org.springframework.boot.cli.compiler.grape

Examples of org.springframework.boot.cli.compiler.grape.RepositoryConfiguration


   * the local cache location has been changed from the default.
   * @param repositoryConfiguration
   */
  public static void addDefaultCacheAsRespository(
      List<RepositoryConfiguration> repositoryConfiguration) {
    RepositoryConfiguration repository = new RepositoryConfiguration("local",
        new File(getM2HomeDirectory(), "repository").toURI(), true);
    if (!repositoryConfiguration.contains(repository)) {
      repositoryConfiguration.add(0, repository);
    }
  }
View Full Code Here


      SourceOptions sourceOptions = new SourceOptions(options);

      List<RepositoryConfiguration> repositoryConfiguration = RepositoryConfigurationFactory
          .createDefaultRepositoryConfiguration();
      repositoryConfiguration.add(0, new RepositoryConfiguration("local", new File(
          "repository").toURI(), true));

      SpringApplicationRunnerConfiguration configuration = new SpringApplicationRunnerConfigurationAdapter(
          options, this, repositoryConfiguration);
View Full Code Here

TOP

Related Classes of org.springframework.boot.cli.compiler.grape.RepositoryConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.