Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for defaultConfiguration (0.51 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/DefaultDomainObjectSet.java

         * The mutation validators used in DefaultConfiguration only expect to be used with add/remove methods and fail when we
         * correctly try to also prevent all/withType/etc mutation methods.
         *
         * assertMutableCollectionContents is only used by add/remove methods, but we should remove this special handling and fix
         * DefaultConfiguration and CompositeDomainObjects.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/ArtifactSetToFileCollectionFactory.java

         *
         * <p>This produces only a minimal implementation to use for artifact sets loaded from the configuration cache
         * Over time, this should be merged with the FileCollection implementation in DefaultConfiguration
         */
        public ResolutionBackedFileCollection asFileCollection(String displayName, boolean lenient, List<?> elements) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publication/IvyComponentParser.java

            IvyConfiguration defaultConfiguration = configurations.maybeCreate("default");
            for (SoftwareComponentVariant variant : component.getUsages()) {
                String conf = mapVariantNameToIvyConfiguration(variant.getName());
                configurations.maybeCreate(conf);
                if (defaultShouldExtend(variant)) {
                    defaultConfiguration.extend(conf);
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 18.4K bytes
    - Viewed (1)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerSpec.groovy

            when:
            def compile = configurationContainer.create("compile")
    
            then:
            compile.name == "compile"
            compile.incoming.path == ":compile"
            compile instanceof DefaultConfiguration
    
            and:
            configurationContainer.getByName("compile") == compile
    
            //finds configurations
            configurationContainer.findByName("compile") == compile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/DefaultArtifactHandler.java

            // To avoid potentially adding new deprecation warnings in Gradle 8.0, we will maintain
            // the existing fully deprecated logic here (migrating the method out of DefaultConfiguration
            // so it isn't mistakenly used elsewhere)
            if (isFullyDeprecated(configuration)) {
                DeprecationLogger.deprecateConfiguration(configuration.getName()).forArtifactDeclaration()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

                    : null;
            if (executionConfiguration == null) {
                executionConfiguration = new XmlNodeImpl("configuration");
            }
    
            XmlNode defaultConfiguration = getMojoConfiguration(mojoDescriptor);
    
            List<XmlNode> children = new ArrayList<>();
            if (mojoDescriptor.getParameters() != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/main/java/org/gradle/api/plugins/JavaPlugin.java

            // Set the 'java' component as the project's default.
            Configuration defaultConfiguration = project.getConfigurations().getByName(Dependency.DEFAULT_CONFIGURATION);
            defaultConfiguration.extendsFrom(javaComponent.getMainFeature().getRuntimeElementsConfiguration());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

        }
    
        def "revalidates default configuration if it has attributes"() {
            def dep = new LocalComponentDependencyMetadata(Stub(ComponentSelector), Dependency.DEFAULT_CONFIGURATION, [] as List, [], false, false, true, false, false, null)
            def conf = defaultConfiguration(attributes(key: 'nothing'))
            toComponent.getCandidatesForGraphVariantSelection().variants.addAll(conf)
            attributesSchema.attribute(Attribute.of('key', String))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/DeprecatedConfigurationUsageIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.integtests.resolve.api
    
    import org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.ProperMethodUsage
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.ConfigurationUsageChangingFixture
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 02:32:37 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainer.java

        }
    
        private String nextDetachedConfigurationName() {
            return DETACHED_CONFIGURATION_DEFAULT_NAME + detachedConfigurationDefaultNameCounter.getAndIncrement();
        }
    
        private void copyAllTo(DefaultConfiguration detachedConfiguration, Dependency[] dependencies) {
            DomainObjectSet<Dependency> detachedDependencies = detachedConfiguration.getDependencies();
            for (Dependency dependency : dependencies) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 00:10:35 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top