Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 111 for GoVersion (0.18 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/preconditions/IntegTestPreconditions.groovy

                    JavaVersion.toVersion(6),
                    JavaVersion.toVersion(7)
                ).empty
            }
        }
    
        static class Java8HomeAvailable implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return AvailableJavaHomes.getJdk(
                    JavaVersion.toVersion(8)
                )
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileCompatibilityIntegrationTest.groovy

            def jdk = Jvm.current()
            def prevJavaVersion = JavaVersion.toVersion(jdk.javaVersion.majorVersionNumber - 1)
            buildFile << """
                apply plugin: 'java'
    
                java {
                    sourceCompatibility = JavaVersion.toVersion('$prevJavaVersion')
                    targetCompatibility = JavaVersion.toVersion('$prevJavaVersion')
                    toolchain {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

            def lowerVersion = lower.javaVersion.getMajorVersion()
    
            and:
            goodCode()
            buildFile << """
                java.sourceCompatibility = JavaVersion.toVersion(${lowerVersion})
                java.targetCompatibility = JavaVersion.toVersion(${lowerVersion})
                java.toolchain {
                    languageVersion = JavaLanguageVersion.of(${Jvm.current().javaVersion.majorVersion})
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

            then:
            executedAndNotSkipped(":compileJava")
            outputContains("Compiling with toolchain '${targetJdk.javaHome.absolutePath}'")
            classJavaVersion(javaClassFile("Foo.class")) == JavaVersion.toVersion(compileWithVersion)
    
            where:
            // Some cases are skipped, because forkOptions (when configured) must match the resulting toolchain, otherwise the build fails
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. testing/soak/src/testFixtures/groovy/org/gradle/launcher/daemon/fixtures/FullyQualifiedGarbageCollector.groovy

            if (gcComparison == 0) {
                int vendorComparison = vendor.compareTo(o.vendor)
                if (vendorComparison == 0) {
                    return JavaVersion.toVersion(version).compareTo(JavaVersion.toVersion(o.version))
                } else {
                    return vendorComparison
                }
            } else {
                return gcComparison
            }
        }
    
        boolean equals(o) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ScalaCompileJavaToolchainIntegrationTest.groovy

                compileScala {
                    scalaCompileOptions.additionalParameters = ["${targetJava8}"]
    
                    ${source != 'none' ? "sourceCompatibility = JavaVersion.toVersion($source)" : ''}
                    ${target != 'none' ? "targetCompatibility = JavaVersion.toVersion($target)" : ''}
                    def projectSourceCompat = project.java.sourceCompatibility
                    def projectTargetCompat = project.java.targetCompatibility
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:32:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/pkg.go

    // in the binary. setBuildInfo should only be called on a main package with no
    // errors.
    //
    // This information can be retrieved using debug.ReadBuildInfo.
    //
    // Note that the GoVersion field is not set here to avoid encoding it twice.
    // It is stored separately in the binary, mostly for historical reasons.
    func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryServiceTest.groovy

            when:
            def filter = createSpec(JavaLanguageVersion.of(versionToFind))
            def toolchain = queryService.findMatchingToolchain(filter)
    
            then:
            toolchain.languageVersion == JavaVersion.toVersion(versionToFind)
            toolchain.javaHome.toString() == systemSpecificAbsolutePath(expectedPath)
    
            where:
            versionToFind | expectedPath
            9             | "/path/9"
            12            | "/path/12"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go

    						},
    					},
    					"buildDate": {
    						SchemaProps: spec.SchemaProps{
    							Default: "",
    							Type:    []string{"string"},
    							Format:  "",
    						},
    					},
    					"goVersion": {
    						SchemaProps: spec.SchemaProps{
    							Default: "",
    							Type:    []string{"string"},
    							Format:  "",
    						},
    					},
    					"compiler": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:17 UTC 2024
    - 329.7K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/typeconversion/JavaVersionFromCharSequenceNotationConverter.java

        @Override
        public void convert(CharSequence notation, NotationConvertResult<? super JavaVersion> result) throws TypeConversionException {
            try {
                result.converted(JavaVersion.toVersion(notation));
            } catch (IllegalArgumentException e) {
                throw new TypeConversionException(e.getMessage(), e);
            }
        }
    
        @Override
        public void describe(DiagnosticsVisitor visitor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:43:28 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top