Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for hasRule (0.47 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutionsSpec.groovy

        }
    
        def "registering an all rule toggles the hasRule flag"() {
            given:
            def action = Mock(Action)
    
            when:
            substitutions.all(action)
    
            then:
            substitutions.rulesMayAddProjectDependency()
        }
    
        def "registering a substitute rule with (#from, #to) causes hasRule #result"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            if (cached != null
                    // if the POM has no file, we cached a missing artifact, only return the cached data if no update forced
                    && (!request.isForceUpdate() || hasFile(cached.getPomArtifact()))) {
                return cached;
            }
    
            List<Dependency> dependencies;
    
            List<Dependency> managedDependencies = null;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultResolutionStrategy.java

                    || dependencySubstitutions.rulesMayAddProjectDependency()
                    || useGlobalDependencySubstitutionRules.get() && globalDependencySubstitutionRules.rulesMayAddProjectDependency()
                    || vcsResolver.hasRules();
        }
    
        @Override
        public DefaultResolutionStrategy setForcedModules(Object... moduleVersionSelectorNotations) {
            mutationValidator.validateMutation(STRATEGY);
            this.forcedModules.clear();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy

                boolean authenticate(String username, PublicKey key, ServerSession session) {
                    return true
                }
            })
            return sshServer
        }
    
    
        boolean hasFile(String filePathToCheck) {
            new File(baseDir, filePathToCheck).exists()
        }
    
        TestFile file(String expectedPath) {
            new TestFile(new File(baseDir, expectedPath))
        }
    
        URI getUri() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

            gradle.startParameter.setTaskNames(startParameterTaskNames)
        }
    
        private
        fun DefaultWriteContext.writeChildBuilds(gradle: GradleInternal) {
            if (gradle.serviceOf<VcsMappingsStore>().asResolver().hasRules()) {
                logNotImplemented(
                    feature = "source dependencies",
                    documentationSection = NotYetImplementedSourceDependencies
                )
                writeBoolean(true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  6. src/archive/tar/common.go

    		// Technically, it is required for uname and gname,
    		// but neither GNU nor BSD tar checks for it.
    		tooLong := len(s) > size
    		allowLongGNU := paxKey == paxPath || paxKey == paxLinkpath
    		if hasNUL(s) || (tooLong && !allowLongGNU) {
    			whyNoGNU = fmt.Sprintf("GNU cannot encode %s=%q", name, s)
    			format.mustNotBe(FormatGNU)
    		}
    		if !isASCII(s) || tooLong {
    			canSplitUSTAR := paxKey == paxPath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top