- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getExtension (0.22 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java
assertTrue(bean instanceof ExtensionAware); ExtensionAware extensionBean = (ExtensionAware) bean; assertThat(extensionBean.getExtensions(), notNullValue()); Bean extn = extensionBean.getExtensions().create("nested", Bean.class); DynamicObjectAware dynamicBean = (DynamicObjectAware) bean; assertSame(dynamicBean.getAsDynamicObject().getProperty("nested"), extn);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 74.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java
registerInstanceOn(modelRegistry, "projectIdentifier", PROJECT_IDENTIFIER_MODEL_TYPE, this); registerInstanceOn(modelRegistry, "extensionContainer", EXTENSION_CONTAINER_MODEL_TYPE, getExtensions()); modelRegistry.getRoot().applyToSelf(BasicServicesRules.class); } private <T> void registerInstanceOn(ModelRegistry modelRegistry, String path, ModelType<T> type, T instance) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 50.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
} public List<Extension> getBuildExtensions() { Build build = getBuild(); if ((build == null) || (build.getExtensions() == null)) { return Collections.emptyList(); } else { return Collections.unmodifiableList(build.getExtensions()); } } public void addProjectReference(MavenProject project) { projectReferences.put(
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Mar 01 17:18:13 UTC 2024 - 56.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
// extensionArtifacts Set<Artifact> extensionArtifacts = new HashSet<>(); List<Extension> extensions = project.getModel().getDelegate().getBuild().getExtensions(); if (extensions != null) { for (Extension ext : extensions) { String version; if (ext.getVersion() == null || ext.getVersion().isEmpty()) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 16:34:29 UTC 2024 - 57.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc
[[task_convention]] ==== Calling `Task.getConvention()`, `Task.getExtensions()` from a task action Calling link:{javadocPath}/org/gradle/api/Task.html#getConvention--[Task.getConvention()], link:{javadocPath}/org/gradle/api/Task.html#getExtensions--[Task.getExtensions()] from a task action at execution time is now deprecated and will be made an error in Gradle 9.0.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 17:01:07 UTC 2024 - 90.7K bytes - Viewed (2) -
subprojects/core-api/src/main/java/org/gradle/api/Project.java
* * @return The <code>Convention</code>. Never returns null. * @deprecated The concept of conventions is deprecated. Use extensions if possible. * @see ExtensionAware#getExtensions() */ @Deprecated org.gradle.api.plugins.Convention getConvention(); /** * <p>Compares the nesting level of this project with another project of the multi-project hierarchy.</p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 04:56:22 UTC 2024 - 74.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
EMPTY, problems, errOn30, Version.V20, p.getExtensions(), p.getKey(), p); validate20EffectivePluginDependencies(problems, p, request); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jun 10 11:04:53 UTC 2024 - 73.9K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
EMPTY, problems, errOn30, Version.V20, p.getExtensions(), p.getKey(), p); validate20EffectivePluginDependencies(problems, p, request); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sat May 18 14:09:22 UTC 2024 - 76K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
CoreExtensionsStaxReader parser = new CoreExtensionsStaxReader(); try (InputStream is = Files.newInputStream(extensionsFile.toPath())) { return parser.read(is, true).getExtensions(); } } private ClassRealm setupContainerRealm( ClassWorld classWorld, ClassRealm coreRealm, List<File> extClassPath, List<CoreExtensionEntry> extensions)
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:59 UTC 2024 - 72.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc
For example, here's how you configure the groovy sources from a plugin: ```java GroovySourceDirectorySet groovySources = sourceSet.getExtensions().getByType(GroovySourceDirectorySet.class); groovySources.setSrcDirs(Arrays.asList("sources/groovy")); ``` [[old_artifact_transforms_api]] ==== Registering artifact transforms extending `ArtifactTransform`
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 15:00:23 UTC 2024 - 87.7K bytes - Viewed (0)