- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 143 for JavaLanguageVersion (0.24 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java
if (matcher.matches()) { String uid = matcher.group(1) == null ? null : matcher.group(1).substring("uid=".length()); String javaHome = matcher.group(2); JavaLanguageVersion javaVersion = JavaLanguageVersion.of(matcher.group(3)); String daemonRegistryDir = matcher.group(4); String pidStr = matcher.group(5); Long pid = pidStr.equals("null") ? null : Long.parseLong(pidStr);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 09:22:54 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/toolchain-task/kotlin/build.gradle.kts
plugins { java } java { toolchain { // <1> languageVersion = JavaLanguageVersion.of(8) } } tasks.register<CustomTaskUsingToolchains>("showDefaultToolchain") // <2> tasks.register<CustomTaskUsingToolchains>("showCustomToolchain") { launcher = javaToolchains.launcherFor { // <3> languageVersion = JavaLanguageVersion.of(17) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/CurrentJvmToolchainSpec.java
package org.gradle.jvm.toolchain.internal; import org.gradle.internal.jvm.Jvm; import org.gradle.jvm.toolchain.JavaLanguageVersion; import javax.inject.Inject; public abstract class CurrentJvmToolchainSpec extends DefaultToolchainSpec { @Inject public CurrentJvmToolchainSpec() { getLanguageVersion().set(JavaLanguageVersion.of(Jvm.current().getJavaVersion().getMajorVersion())); // disallow changing property values
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 18:07:00 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy
def 'fails when requesting not available toolchain'() { buildFile << """ apply plugin: 'java' java { toolchain { languageVersion = JavaLanguageVersion.of(99) } } """ when: failure = executer .withToolchainDetectionEnabled() .withTasks("compileJava")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 23.4K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/DefaultJavaLanguageVersionTest.groovy
* limitations under the License. */ package org.gradle.jvm.toolchain.internal import org.gradle.jvm.toolchain.JavaLanguageVersion import spock.lang.Specification class DefaultJavaLanguageVersionTest extends Specification { def 'defines known versions'() { given: JavaLanguageVersion[] knownVersions = DefaultJavaLanguageVersion.KNOWN_VERSIONS expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 01 16:57:19 UTC 2024 - 2.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParserTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.integtests.fixtures.daemon import org.gradle.jvm.toolchain.JavaLanguageVersion import org.gradle.launcher.daemon.context.DaemonContext import org.gradle.util.GradleVersion import spock.lang.Specification class DaemonContextParserTest extends Specification {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/JavaInstallationMetadata.java
* * @since 6.7 */ public interface JavaInstallationMetadata { /** * Returns the language version of the JVM to which this tool belongs * * @return the {@code JavaLanguageVersion} */ @Input JavaLanguageVersion getLanguageVersion(); /** * Returns the full Java version (including the build number) of the JVM, as specified in its {@code java.runtime.version} property. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 01 16:57:19 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonRegistryUnavailableExpirationStrategyTest.groovy
* limitations under the License. */ package org.gradle.launcher.daemon.server import org.gradle.internal.remote.Address import org.gradle.jvm.toolchain.JavaLanguageVersion import org.gradle.launcher.daemon.configuration.DaemonParameters import org.gradle.launcher.daemon.context.DaemonContext import org.gradle.launcher.daemon.context.DefaultDaemonContext
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/toolchain-basic/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 151 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/toolchain-foojay/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 111 bytes - Viewed (0)