Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 198 for STRICT (0.29 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultMutableVersionConstraintTest.groovy

        }
    
        def "can override required version with strict version"() {
            given:
            def version = new DefaultMutableVersionConstraint('1.0')
    
            when:
            version.strictly('2.0')
    
            then:
            version.requiredVersion == '2.0'
            version.preferredVersion == ''
            version.strictVersion == '2.0'
        }
    
        def "can override strict version with required version"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceScopeValidator.java

        private final Class<? extends Scope> scope;
        private final boolean strict;
    
        public ServiceScopeValidator(Class<? extends Scope> scope, boolean strict) {
            this.scope = scope;
            this.strict = strict;
        }
    
        @Override
        public List<Class<? extends Annotation>> getAnnotations() {
            return SCOPE_ANNOTATIONS;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ScopedServiceRegistryTest.groovy

            return scopedRegistry(scope, true)
        }
    
        private static ScopedServiceRegistry scopedRegistry(Class<? extends Scope> scope, boolean strict) {
            return new ScopedServiceRegistry(scope, strict, "test service registry")
        }
    
        @ServiceScope(Scope.BuildTree)
        static class BuildTreeScopedService {}
    
        @ServiceScope([Scope.Global, Scope.Build])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/declaringDependencies-concreteVersion/kotlin/build.gradle.kts

        into(layout.buildDirectory.dir("libs"))
    }
    
    /*
    // tag::required-version[]
    dependencies {
        implementation("org.slf4j:slf4j-api:1.7.15")
    }
    // end::required-version[]
    
    // tag::strict-shorthand[]
    dependencies {
        // short-hand notation with !!
        implementation("org.slf4j:slf4j-api:1.7.15!!")
        // is equivalent to
        implementation("org.slf4j:slf4j-api") {
            version {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/declaringDependencies-concreteVersion/groovy/build.gradle

                }
            }
        }
    }
    // end::rich-version[]
    
    /*
    // tag::required-version[]
    dependencies {
        implementation('org.slf4j:slf4j-api:1.7.15')
    }
    // end::required-version[]
    
    // tag::strict-shorthand[]
    dependencies {
        // short-hand notation with !!
        implementation('org.slf4j:slf4j-api:1.7.15!!')
        // is equivalent to
        implementation("org.slf4j:slf4j-api") {
            version {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/DependencyLockingStrictModeIntegrationTest.groovy

    import org.gradle.api.artifacts.dsl.LockMode
    
    class DependencyLockingStrictModeIntegrationTest extends AbstractValidatingLockingIntegrationTest {
    
        @Override
        LockMode lockMode() {
            LockMode.STRICT
        }
    
        def 'fails without lock file present and does not create one'() {
            mavenRepo.module('org', 'foo', '1.0').publish()
    
            buildFile << """
    dependencyLocking {
        lockAllConfigurations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ModuleComponentSelectorSerializerTest.groovy

            when:
            def result = serialize(newSelector(UTIL, constraint(version, strict, rejects), attributes(foo: 'bar'), [capability("foo")]), serializer)
    
            then:
            result == newSelector(UTIL, constraint(version, strict, rejects), attributes(foo: 'bar'), [capability("foo")])
    
            where:
            version | strict   | rejects
            '5.0'   | ''       | []
            '5.0'   | ''       | ['1.0']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/util/internal/VersionNumberIntegrationTest.groovy

    import org.gradle.test.fixtures.dsl.GradleDsl
    
    import static org.junit.Assume.assumeFalse
    
    
    class VersionNumberIntegrationTest extends AbstractIntegrationSpec {
    
        def "nullability with Kotlin jsr-305 strict"() {
            assumeFalse(GradleContextualExecuter.embedded)
    
            given:
            file("src/main/kotlin/Test.kt") << """
                import org.gradle.util.internal.VersionNumber
    
                fun test() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. architecture/ambient/peer-authentication.md

    ```yaml
    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: strict-and-permissive-mtls
    spec:
      selector:
        matchLabels:
          app: a
      mtls:
        mode: STRICT
      portLevelMtls:
        9090:
          mode: PERMISSIVE
    ```
    
    will be translated into this `Authorization`:
    
    ```yaml
    action: DENY
    groups:
    - rules:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 22:09:18 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/CapabilityNotationParserFactory.java

        }
    
        private static CapabilityNotationParser createSingletonConverter(boolean strict) {
            NotationParser<Object, Capability> parser = NotationParserBuilder.toType(Capability.class)
                .converter(new StringNotationParser(strict))
                .converter(strict ? new StrictCapabilityMapNotationParser() : new LenientCapabilityMapNotationParser())
                .toComposite();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top