Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for toolchainVersions (0.28 sec)

  1. src/cmd/go/internal/modget/get.go

    	toolchainVersions := func(reqs []module.Version) (goV, toolchain string) {
    		for _, req := range reqs {
    			if req.Path == "go" {
    				goV = req.Version
    			}
    			if req.Path == "toolchain" {
    				toolchain = req.Version
    			}
    		}
    		return
    	}
    	oldGo, oldToolchain := toolchainVersions(oldReqs)
    	newGo, newToolchain := toolchainVersions(newReqs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-configuration/src/main/java/org/gradle/internal/buildconfiguration/tasks/UpdateDaemonJvmModifier.java

            File propertiesFile,
            JavaVersion toolchainVersion,
            @Nullable JvmVendor toolchainVendor,
            @Nullable JvmImplementation toolchainImplementation
        ) {
            validateToolchainVersion(toolchainVersion);
    
            Properties daemonJvmProperties = new Properties();
            daemonJvmProperties.put(DaemonJvmPropertiesDefaults.TOOLCHAIN_VERSION_PROPERTY, toolchainVersion.getMajorVersion());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainInvalidCriteriaIntegrationTest.groovy

            when:
            fails 'help'
            then:
            failure.assertHasDescription("Value 'stringVersion' given for toolchainVersion is an invalid Java version")
        }
    
        def "Given negative toolchain version When execute any task Then fails with expected exception message"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/JavaCompileTest.groovy

            metadata.languageVersion >> JavaLanguageVersion.of(toolchainVersion)
            metadata.installationPath >> TestFiles.fileFactory().dir(javaHome)
            compiler.metadata >> metadata
    
            when:
            javaCompile.javaCompiler.set(compiler)
            def spec = javaCompile.createSpec()
    
            then:
            spec.sourceCompatibility == JavaVersion.toVersion(toolchainVersion).toString()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-configuration/src/main/java/org/gradle/internal/buildconfiguration/DaemonJvmPropertiesDefaults.java

    public class DaemonJvmPropertiesDefaults {
        public static final String DAEMON_JVM_PROPERTIES_FILE = "gradle/gradle-daemon-jvm.properties";
    
        public static final String TOOLCHAIN_VERSION_PROPERTY = "toolchainVersion";
        public static final String TOOLCHAIN_VENDOR_PROPERTY = "toolchainVendor";
        public static final String TOOLCHAIN_IMPLEMENTATION_PROPERTY = "toolchainImplementation";
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/main/java/org/gradle/language/scala/tasks/AbstractScalaCompile.java

        private void configureCompatibilityOptions(DefaultScalaJavaJointCompileSpec spec) {
            String toolchainVersion = JavaVersion.toVersion(getToolchain().getLanguageVersion().asInt()).toString();
            String sourceCompatibility = getSourceCompatibility();
            if (sourceCompatibility == null) {
                sourceCompatibility = toolchainVersion;
            }
            String targetCompatibility = getTargetCompatibility();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainCoexistWithCurrentOptionsIntegrationTest.groovy

            def otherJvmMetadata = AvailableJavaHomes.getJvmInstallationMetadata(otherJvm)
            captureJavaHome()
            file("gradle.properties")
                .writeProperties(
                    "toolchainVersion": otherJvmMetadata.javaVersion,
                    "toolchainVendor": otherJvmMetadata.vendor.knownVendor.name()
                )
    
            expect:
            succeeds("help")
            assertDaemonUsedJvm(Jvm.current())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/compile/JavaCompile.java

            } else {
                String toolchainVersion = JavaVersion.toVersion(getToolchain().getLanguageVersion().asInt()).toString();
                String sourceCompatibility = getSourceCompatibility();
                // Compatibility can be null if no convention was configured, e.g. when JavaBasePlugin is not applied
                if (sourceCompatibility == null) {
                    sourceCompatibility = toolchainVersion;
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:33:35 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/compile/GroovyCompile.java

            String toolchainVersion = JavaVersion.toVersion(getToolchain().getLanguageVersion().asInt()).toString();
            String sourceCompatibility = getSourceCompatibility();
            // Compatibility can be null if no convention was configured, e.g. when JavaBasePlugin is not applied
            if (sourceCompatibility == null) {
                sourceCompatibility = toolchainVersion;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/gc.go

    	if p.Internal.OmitDebug || cfg.Goos == "plan9" || cfg.Goarch == "wasm" {
    		defaultGcFlags = append(defaultGcFlags, "-dwarf=false")
    	}
    	if strings.HasPrefix(ToolchainVersion, "go1") && !strings.Contains(os.Args[0], "go_bootstrap") {
    		defaultGcFlags = append(defaultGcFlags, "-goversion", ToolchainVersion)
    	}
    	if p.Internal.Cover.Cfg != "" {
    		defaultGcFlags = append(defaultGcFlags, "-coveragecfg="+p.Internal.Cover.Cfg)
    	}
    	if pgoProfile != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top