- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 107 for getPlugins (0.27 sec)
-
maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 4.8K bytes - Viewed (0) -
maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java
} } metadata.getVersioning().setSnapshotVersions(new ArrayList<>(versions.values())); // just carry-on as-is if (!recessive.getPlugins().isEmpty()) { metadata.setPlugins(new ArrayList<>(recessive.getPlugins())); } } private static int getBuildNumber(Metadata metadata) { int number = 0; Versioning versioning = metadata.getVersioning();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 10:10:21 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/plugin/java/junit/PluginTest.java.template
*/ class ${className.javaIdentifier} { @Test void pluginRegistersATask() { // Create a test project and apply the plugin Project project = ProjectBuilder.builder().build(); project.getPlugins().apply("${pluginId.value}"); // Verify the result assertNotNull(project.getTasks().findByName("greeting")); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 641 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/toolchain-management/groovy/settings.gradle
abstract class MadeUpPlugin implements Plugin<Settings> { @Inject protected abstract JavaToolchainResolverRegistry getToolchainResolverRegistry(); void apply(Settings settings) { settings.getPlugins().apply("jvm-toolchain-management") JavaToolchainResolverRegistry registry = getToolchainResolverRegistry() registry.register(MadeUpResolver.class) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 16:22:45 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/toolchain-management/groovy/buildSrc/src/main/java/org/myorg/JavaToolchainResolverPlugin.java
@Inject protected abstract JavaToolchainResolverRegistry getToolchainResolverRegistry(); // <2> public void apply(Settings settings) { settings.getPlugins().apply("jvm-toolchain-management"); // <3> JavaToolchainResolverRegistry registry = getToolchainResolverRegistry(); registry.register(JavaToolchainResolverImplementation.class); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 739 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/developingPlugins/reactingToPlugins/groovy/buildSrc/src/main/java/InhouseStrongOpinionConventionJavaPlugin.java
public class InhouseStrongOpinionConventionJavaPlugin implements Plugin<Project> { public void apply(Project project) { // Careful! Eagerly appyling plugins has downsides, and is not always recommended. project.getPlugins().apply(JavaPlugin.class); SourceSetContainer sourceSets = project.getExtensions().getByType(SourceSetContainer.class); SourceSet main = sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 766 bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java
} if (model != null) { Build build = model.getBuild(); if (build != null) { for (Plugin plugin : build.getPlugins()) { if (groupId.equals(plugin.getGroupId()) && artifactId.equals(plugin.getArtifactId())) { return plugin; } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/management/internal/autoapply/DefaultAutoAppliedPluginHandler.java
if (autoAppliedPlugins.isEmpty()) { return PluginRequests.EMPTY; } return filterAlreadyAppliedOrRequested(autoAppliedPlugins, initialRequests, project.getPlugins(), project.getBuildscript()); } else if (pluginTarget instanceof Settings) { Settings settings = (Settings) pluginTarget;
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/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/PluginAwareScript.kt
import org.gradle.api.plugins.PluginManager open class PluginAwareScript internal constructor( private val host: KotlinScriptHost<PluginAware> ) : PluginAware { override fun getPlugins(): PluginContainer = host.target.plugins override fun getPluginManager(): PluginManager = host.target.pluginManager override fun apply(action: Action<in ObjectConfigurationAction>) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelNormalizer.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 5.3K bytes - Viewed (0)