Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 246 for toolChain (0.37 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

        def "computes target jvm version when using toolchain"() {
            given:
            def jdk = AvailableJavaHomes.differentVersion
            def javaVersion = jdk.javaVersion.getMajorVersion()
    
            and:
            goodCode()
            buildFile << """
                java.toolchain {
                    languageVersion = JavaLanguageVersion.of(${javaVersion})
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/JavaLanguageVersion.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.jvm.toolchain;
    
    import org.gradle.api.Incubating;
    import org.gradle.jvm.toolchain.internal.DefaultJavaLanguageVersion;
    
    /**
     * Represents a Java Language version
     *
     * @since 6.7
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/context/DaemonCompatibilitySpecSpec.groovy

    import org.gradle.internal.os.OperatingSystem
    import org.gradle.jvm.toolchain.JavaLanguageVersion
    import org.gradle.jvm.toolchain.JvmImplementation
    import org.gradle.jvm.toolchain.JvmVendorSpec
    import org.gradle.launcher.daemon.configuration.DaemonParameters
    import org.gradle.launcher.daemon.toolchain.DaemonJvmCriteria
    import org.gradle.test.fixtures.file.TestFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/workcmd/edit.go

    The -toolchain=name flag sets the Go toolchain to use.
    
    The -print flag prints the final go.work in its text format instead of
    writing it back to go.mod.
    
    The -json flag prints the final go.work file in JSON format instead of
    writing it back to go.mod. The JSON output corresponds to these Go types:
    
    	type GoWork struct {
    		Go        string
    		Toolchain string
    		Godebug   []Godebug
    		Use       []Use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. platforms/core-runtime/build-configuration/build.gradle.kts

        testFixturesImplementation(project(":internal-integ-testing"))
    
        testRuntimeOnly(project(":distributions-jvm")) {
            because("ProjectBuilder tests load services from a Gradle distribution.  Toolchain usage requires JVM distribution.")
        }
        integTestDistributionRuntimeOnly(project(":distributions-full"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 888 bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/UpToDateScalaCompileIntegrationTest.groovy

                }
    
                scala {
                    zincVersion = "1.7.1"
                }
    
                java {
                    toolchain {
                        languageVersion = JavaLanguageVersion.of(
                            !providers.gradleProperty("changed").isPresent()
                                ? ${jdk8.languageVersion.majorVersion}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/cmd/go/main.go

    //
    // We have to handle the -C flag this way for two reasons:
    //
    //  1. Toolchain selection needs to be in the right directory to look for go.mod and go.work.
    //
    //  2. A toolchain switch later on reinvokes the new go command with the same arguments.
    //     The parent toolchain has already done the chdir; the child must not try to do it again.
    func handleChdirFlag() {
    	_, used := lookupCmd(os.Args[1:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:09:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/DefaultJavaLanguageVersion.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.jvm.toolchain.internal;
    
    import org.gradle.api.internal.jvm.JavaVersionParser;
    import org.gradle.jvm.toolchain.JavaLanguageVersion;
    
    import java.io.Serializable;
    
    public class DefaultJavaLanguageVersion implements JavaLanguageVersion, Serializable {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modget/get.go

    			changes[path] = change{path, old, new}
    		}
    	}
    
    	// Toolchain diffs are easier than requirements: diff old and new directly.
    	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
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  10. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/JavaInstallationRegistry.java

    import org.gradle.internal.service.scopes.ServiceScope;
    import org.gradle.jvm.toolchain.internal.InstallationLocation;
    
    import java.util.List;
    
    
    @NonNullApi
    @ServiceScope({ Scope.Build.class, Scope.Global.class })
    public interface JavaInstallationRegistry {
        List<JvmToolchainMetadata> toolchains();
    
        void addInstallation(InstallationLocation downloadedInstallation);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top