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; }
private void _addDependenciesSoy(Project project) { GradleUtil.addDependency(project, CONFIGURATION_NAME, "com.google.template", "soy", _VERSION); }