- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for toolchainVersion (0.2 sec)
-
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) -
platforms/core-runtime/build-configuration/src/main/java/org/gradle/internal/buildconfiguration/DaemonJvmPropertiesDefaults.java
public static final String TOOLCHAIN_VERSION_PROPERTY = "toolchainVersion"; public static final String TOOLCHAIN_VENDOR_PROPERTY = "toolchainVendor"; public static final String TOOLCHAIN_IMPLEMENTATION_PROPERTY = "toolchainImplementation"; public static final JavaVersion TOOLCHAIN_VERSION = JavaVersion.current();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 1.2K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/gradle_daemon.adoc
---- $ ./gradlew updateDaemonJvm ---- The following file will be generated: ==== .gradle/gradle-daemon-jvm.properties [source,properties] ---- #This file is generated by updateDaemonJvm toolchainVersion=17 ---- ==== The same properties file can be produced without configuring the task in the build script, and using a command-line argument instead: ---- $ ./gradlew updateDaemonJvm --jvm-version=17
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 12:43:14 UTC 2024 - 13.1K bytes - Viewed (0)