- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for isCompatibleWith (0.28 sec)
-
platforms/documentation/docs/src/snippets/tutorial/groovyScope/kotlin/build.gradle.kts
dependencies { implementation(localGroovy()) } tasks { register<JavaExec>("runScript") { mainClass = "scope" classpath = sourceSets.main.get().runtimeClasspath if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_1_9)) { jvmArgs = listOf("--add-opens", "java.base/java.lang=ALL-UNNAMED") } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 385 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/groovyScope/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 345 bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/HigherToolchainZincScalaCompileIntegrationTest.groovy
} private static jdkForTest() { AvailableJavaHomes.getAvailableJdk { it.languageVersion > Jvm.current().javaVersion && JavaVersion.VERSION_16.isCompatibleWith(it.languageVersion) } } @Override Jvm computeJdkForTest() { jdkForTest() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/testFixtures/groovy/org/gradle/testing/fixture/MultiJvmTestCompatibility.groovy
* Check that the console is correct for a test worker. On Java 22, the console exists but is not a terminal. On earlier versions, the console does not exist. */ static final String CONSOLE_CHECK = JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_22) ? "assertFalse(System.console().isTerminal());" : "assertNull(System.console());"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/base/customExternalTask/kotlin/task/build.gradle.kts
} } // Needed when using ProjectBuilder class AddOpensArgProvider(private val test: Test) : CommandLineArgumentProvider { override fun asArguments() : Iterable<String> { return if (test.javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)) { listOf("--add-opens=java.base/java.lang=ALL-UNNAMED") } else { emptyList() } } } tasks.withType<Test>().configureEach {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcNonJvmIntegrationTest.groovy
toolVersion = '${version}' } tasks.register("codenarcGradle", CodeNarc) { source "test.groovy" } ${JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_14) ? """ configurations.codenarc {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:23:38 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/HigherToolchainGroovyCompileIntegrationTest.groovy
@Override Jvm computeJdkForTest() { AvailableJavaHomes.getAvailableJdk { it.languageVersion > Jvm.current().javaVersion && JavaVersion.VERSION_16.isCompatibleWith(it.languageVersion) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 29 14:04:11 UTC 2023 - 1.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/JavaForkOptionsInternal.java
public interface JavaForkOptionsInternal extends JavaForkOptions { /** * Returns true if the given options are compatible with this set of options. */ boolean isCompatibleWith(JavaForkOptions options); /** * Sets extra JVM arguments to a Java process without checking debug configuration. */ void setExtraJvmArgs(Iterable<?> jvmArgs); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 10 06:16:11 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderEndUserIntegrationTest.groovy
public AddOpensArgProvider(Test test) { this.test = test; } @Override Iterable<String> asArguments() { return test.javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9) ? ["--add-opens=java.base/java.lang=ALL-UNNAMED"] : [] } } tasks.withType(Test).configureEach {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcCompilationClasspathIntegrationTest.groovy
private final static String UNSUPPORTED_COMPILATION_CLASSPATH_VERSION = '0.26.0' private static String supportedCompilationClasspathVersion() { if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16)) { return "1.6" } return MIN_SUPPORTED_COMPILATION_CLASSPATH_VERSION } def "compilation classpath can be specified for a CodeNarc task"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 21 12:23:38 UTC 2023 - 3.5K bytes - Viewed (0)