예제 #1
0
  protected Configuration addConfigurationBundle(
      Project project, WorkspaceExtension workspaceExtension) {

    Configuration configuration = GradleUtil.addConfiguration(project, BUNDLE_CONFIGURATION_NAME);

    configuration.setDescription("Configures the Liferay bundle to use for your project.");

    GradleUtil.addDependency(
        project,
        BUNDLE_CONFIGURATION_NAME,
        workspaceExtension.getBundleArtifactGroup(),
        workspaceExtension.getBundleArtifactName(),
        workspaceExtension.getBundleArtifactVersion());

    return configuration;
  }
예제 #2
0
 private void _addDependenciesSoy(Project project) {
   GradleUtil.addDependency(project, CONFIGURATION_NAME, "com.google.template", "soy", _VERSION);
 }