Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 111 for GoVersion (0.4 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/compile/JavaCompile.java

        JavaVersion getJavaVersion() {
            return JavaVersion.toVersion(getToolchain().getLanguageVersion().asInt());
        }
    
        private void configureCompileOptions(DefaultJavaCompileSpec spec) {
            if (compileOptions.getRelease().isPresent()) {
                spec.setRelease(compileOptions.getRelease().get());
            } else {
                String toolchainVersion = JavaVersion.toVersion(getToolchain().getLanguageVersion().asInt()).toString();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:33:35 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/DefaultJavaPluginConventionTest.groovy

            convention.testReportDirName == 'tests'
        }
    
       def "source and target compatibility default to current jvm version"() {
            given:
            JavaVersion currentJvmVersion = JavaVersion.toVersion(System.properties["java.version"])
            expect:
            convention.sourceCompatibility == currentJvmVersion
            convention.targetCompatibility == currentJvmVersion
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/JavaCrossCompilationIntegrationTest.groovy

            return ["1.6", "1.7", "1.8", "11", "15", "16", "17", "18", "19", "20", "21", "22"]
        }
    
        static JavaVersion toJavaVersion(String version) {
            return JavaVersion.toVersion(version)
        }
    
        def withJavaProjectUsingToolchainsForJavaVersion(String version) {
            def javaVersion = toJavaVersion(version)
            def target = AvailableJavaHomes.getJdk(javaVersion)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 05:59:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. platforms/jvm/scala/src/main/java/org/gradle/api/plugins/scala/ScalaBasePlugin.java

            JavaVersion rawSourceCompatibility = javaExtension.getRawSourceCompatibility();
            if (rawSourceCompatibility != null) {
                return rawSourceCompatibility;
            }
            return JavaVersion.toVersion(compileTask.getJavaLauncher().get().getMetadata().getLanguageVersion().toString());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 10:39:12 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetector.java

            if (javaVersion == null) {
                return failure(javaHome, metadata.get(ProbedSystemProperty.Z_ERROR));
            }
            try {
                JavaVersion.toVersion(javaVersion);
            } catch (IllegalArgumentException e) {
                return failure(javaHome, "Cannot parse version number: " + javaVersion);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 02:32:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/java/org/gradleinternal/buildinit/plugins/internal/maven/Maven2Gradle.java

                    }
                }
            }
    
            builder.propertyAssignment(null, "java.sourceCompatibility", JavaVersion.toVersion(source));
            if (!target.equals(source)) {
                builder.propertyAssignment(null, "java.targetCompatibility", JavaVersion.toVersion(target));
            }
    
            String encoding = (String) project.getProperties().get("project.build.sourceEncoding");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. tensorflow/BUILD

                select({
                    "//tensorflow:macos": [],
                    "//conditions:default": [
                        "//tensorflow/core/data:captured_function",
                    ],
                }),
        soversion = VERSION,
        static_deps = PACKAGE_STATIC_DEPS,
        visibility = ["//visibility:public"],
    )
    
    # This is intended to be the same as tf_binary_additional_srcs:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 16:51:59 UTC 2024
    - 53.5K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilder.java

                }
            } else {
                args.add("-g:none");
            }
    
            addSourcePathArg(compilerArgs, compileOptions);
    
            if (spec.getSourceCompatibility() == null || JavaVersion.toVersion(spec.getSourceCompatibility()).compareTo(JavaVersion.VERSION_1_6) >= 0) {
                List<File> annotationProcessorPath = spec.getAnnotationProcessorPath();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:08 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/PmdPlugin.java

            return extension;
        }
    
        public TargetJdk getDefaultTargetJdk(JavaVersion javaVersion) {
            try {
                return TargetJdk.toVersion(javaVersion.toString());
            } catch (IllegalArgumentException ignored) {
                // TargetJDK does not include 1.1, 1.2 and 1.8;
                // Use same fallback as PMD
                return TargetJdk.VERSION_1_4;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 18:07:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

            return javaVersionMajor;
        }
    
        /**
         * @return the {@link JavaVersion} information
         */
        @Nullable
        public JavaVersion getJavaVersion() {
            return JavaVersion.toVersion(javaVersionMajor);
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public File getJavaHome() {
            return javaHome;
        }
    
        private File findJavaHome(File javaBase) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top