Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for isCompatibleWith (0.38 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleUnsupportedTypesIntegrationTest.groovy

            concreteTypeName = concreteType instanceof Class ? concreteType.name : concreteType
        }
    
        private static executorServiceTypeOnCurrentJvm() {
            def shortName = Jvm.current().javaVersion.isCompatibleWith(JavaVersion.VERSION_21) ? 'AutoShutdownDelegatedExecutorService' : 'FinalizableDelegatedExecutorService'
            return 'java.util.concurrent.Executors$' + shortName
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:15:52 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonCompatibilitySpec.java

        }
    
        private boolean jvmCompatible(DaemonContext potentialContext) {
            if (desiredContext.getJvmCriteria() != null) {
                return desiredContext.getJvmCriteria().isCompatibleWith(potentialContext.getJavaVersion());
            } else {
                try {
                    File potentialJavaHome = potentialContext.getJavaHome();
                    JavaInfo desiredJavaHome = desiredContext.getJavaHome();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/GrettySmokeTest.groovy

            ]
        }
    
        static def grettyConfigForCurrentJavaVersion() {
            TestedVersions.gretty.findAll {
                JavaVersion.current().isCompatibleWith(it.javaMinVersion as JavaVersion) &&
                    (it.javaMaxVersion == null || JavaVersion.current() <= JavaVersion.toVersion(it.javaMaxVersion))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/api/JavaVersionSpec.groovy

        }
    
        def "isCompatibleWith works as expected"() {
            expect:
            lhVersion.isCompatibleWith(rhVersion) == compatible
    
            where:
            lhVersion                | rhVersion                | compatible
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocIntegrationTest.groovy

            when:
            succeeds 'javadoc'
    
            then:
            file('build/docs/javadoc/Foo.html').text.contains("'some text'")
    
            where:
            option << (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16) ? ['header'] : ['header', 'footer'])
        }
    
        def "can configure options with an Action"() {
            given:
            buildFile << '''
                apply plugin: "java"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionDynamicPomIntegrationTest.groovy

            // if the source and target are different, we can't actually compile because javac requires them to be the same
            failure.assertHasDescription("Execution failed for task ':compileJava'.")
            if (source.isCompatibleWith(JavaVersion.VERSION_22)) {
                failure.assertHasCause("error: specified target release 1.8 is too old for the specified source release 22")
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/process/internal/DefaultJavaForkOptions.java

                    target.jvmArgs(jvmArgumentProvider.asArguments());
                }
            }
            return this;
        }
    
        @Override
        public boolean isCompatibleWith(JavaForkOptions options) {
            if (hasJvmArgumentProviders(this) || hasJvmArgumentProviders(options)) {
                throw new UnsupportedOperationException("Cannot compare options with jvmArgumentProviders.");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClientsManager.java

                    if (candidate.isFailed()) {
                        emitUnexpectedWorkerFailureWarning(candidate);
                        it.remove();
                    } else {
                        if (candidate.isCompatibleWith(forkOptions)) {
                            it.remove();
                            if (candidate.getLogLevel() != currentLogLevel) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. platforms/documentation/docs/build.gradle

            }
    
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_12)) {
                excludeTestsMatching "org.gradle.docs.samples.*.snippet-test-kit-gradle-version_*_testKitFunctionalTestSpockGradleDistribution.sample"
            }
    
            if (javaVersion.isCompatibleWith(JavaVersion.VERSION_22)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  10. tensorflow/cc/experimental/libtf/function.cc

          if (tensor->DataType() != spec.dtype) {
            return false;
          }
          tensorflow::PartialTensorShape tensor_shape;
          DCHECK(tensor->Shape(&tensor_shape).ok());
          if (!tensor_shape.IsCompatibleWith(spec.shape)) {
            return false;
          }
        } break;
        case TaggedValue::Type::TUPLE: {
          if (value.type() != TaggedValue::Type::TUPLE) {
            return false;
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top