- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 58 for hasPlugin (0.4 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/VersionCatalogView.java
} return Optional.empty(); } @Override public Optional<Provider<PluginDependency>> findPlugin(String alias) { String normalizedAlias = normalize(alias); if (config.hasPlugin(normalizedAlias)) { return Optional.of(new PluginFactory(providerFactory, config).createPlugin(normalizedAlias)); } return Optional.empty(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Dec 17 22:25:43 UTC 2023 - 4.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/configuration/ExecuteUserLifecycleListenerBuildOperationIntegrationTest.groovy
} if (hasPlugin(settingsFile, 'SettingsPlugin')) { settingsPluginAppId = findPluginApplicationId(targetsSettings()) } if (hasPlugin(buildFile, 'ProjectPlugin')) { rootProjectPluginAppId = findPluginApplicationId(targetsProject(':'), pluginClass('ProjectPlugin')) } if (hasPlugin(subBuildFile, 'ProjectPlugin')) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 40.2K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/internal/IdeaScalaConfigurer.java
@Override public boolean apply(Project project) { final boolean hasIdeaPlugin = project.getPlugins().hasPlugin(IdeaPlugin.class); final boolean hasScalaPlugin = project.getPlugins().hasPlugin(ScalaBasePlugin.class); return hasIdeaPlugin && hasScalaPlugin; } }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/jvm/war/src/test/groovy/org/gradle/api/plugins/WarPluginTest.groovy
class WarPluginTest extends AbstractProjectBuilderSpec { def "applies Java plugin and adds convention"() { when: project.pluginManager.apply(WarPlugin) then: project.getPlugins().hasPlugin(JavaPlugin) project.convention.plugins.war instanceof WarPluginConvention } def "creates configurations"() { given: project.pluginManager.apply(WarPlugin) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 22 18:51:45 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultVersionCatalog.java
return bundles.containsKey(normalize(alias)); } public boolean hasVersion(String alias) { return versions.containsKey(normalize(alias)); } public boolean hasPlugin(String alias) { return plugins.containsKey(normalize(alias)); } @Override public boolean equals(Object o) { if (this == o) { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Dec 17 22:25:43 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/management/internal/autoapply/DefaultAutoAppliedPluginHandler.java
} private static boolean isAlreadyApplied(PluginCoordinates autoAppliedPlugin, PluginContainer pluginContainer) { return pluginContainer.hasPlugin(autoAppliedPlugin.getId().getId()); } private static boolean isAlreadyRequestedInPluginsBlock(PluginCoordinates autoAppliedPlugin, PluginRequests requests) { for (PluginRequestInternal request : requests) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/test/groovy/org/gradle/api/plugins/GroovyPluginTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/jvm/scala/src/test/groovy/org/gradle/api/plugins/scala/ScalaBasePluginTest.groovy
def setup() { project.pluginManager.apply(ScalaBasePlugin) } def appliesTheJavaPluginToTheProject() { expect: project.getPlugins().hasPlugin(JavaBasePlugin) } def addsZincConfigurationToTheProject() { when: def configuration = project.configurations.getByName(ScalaBasePlugin.ZINC_CONFIGURATION_NAME) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 5.5K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/plugins/PluginManager.java
* * @param id the plugin ID. See {@link #findPlugin(String)} for details about this parameter. * @return {@code true} if the plugin has been applied * @since 2.3 */ boolean hasPlugin(String id); /** * Executes the given action when the specified plugin is applied. * <p> * If a plugin with the specified ID has already been applied, the supplied action will be executed immediately.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 10 09:43:44 UTC 2018 - 3.9K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/eclipse/EclipseWtpPlugin.java
project.getPlugins().withType(EarPlugin.class, action); } private boolean hasWarOrEarPlugin(Project project) { return project.getPlugins().hasPlugin(WarPlugin.class) || project.getPlugins().hasPlugin(EarPlugin.class); } private Set<File> getMainSourceDirs(Project project) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 16.9K bytes - Viewed (0)