private Configuration _addConfigurationSoyCompile(Project project) { Configuration configuration = GradleUtil.addConfiguration(project, SOY_COMPILE_CONFIGURATION_NAME); configuration.setDescription("Configures additional Soy dependencies."); configuration.setVisible(false); return configuration; }
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 Configuration _addConfigurationSoy(final Project project) { Configuration configuration = GradleUtil.addConfiguration(project, CONFIGURATION_NAME); configuration.defaultDependencies( new Action<DependencySet>() { @Override public void execute(DependencySet dependencySet) { _addDependenciesSoy(project); } }); configuration.setDescription("Configures Closure Templates for this project."); configuration.setVisible(false); return configuration; }