- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for IsCompatibleWith (0.24 sec)
-
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) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy
startDaemon(_) >> { DaemonForkOptions forkOptions -> Mock(WorkerDaemonClient) { getForkOptions() >> forkOptions isCompatibleWith(_) >> { DaemonForkOptions otherForkOptions -> forkOptions.isCompatibleWith(otherForkOptions) } getJvmMemoryStatus() >> Mock(JvmMemoryStatus) { getCommittedMemory() >> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:56:11 UTC 2024 - 7.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleUnsupportedTypesIntegrationTest.groovy
concreteTypeName = concreteType instanceof Class ? concreteType.name : concreteType } private static executorServiceTypeOnCurrentJvm() { def shortName = Jvm.current().javaVersion.isCompatibleWith(JavaVersion.VERSION_21) ? 'AutoShutdownDelegatedExecutorService' : 'FinalizableDelegatedExecutorService' return 'java.util.concurrent.Executors$' + shortName }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:15:52 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/InstrumentationCodeGenTest.groovy
} private static com.google.testing.compile.Compiler getCompiler() { assumeTrue("Java 20+ do not support --release=8", Jvm.current().javaVersion < JavaVersion.VERSION_20) if (Jvm.current().javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)) { return javac().withOptions(COMPILE_OPTIONS + "--release=8") } return javac().withOptions(COMPILE_OPTIONS) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonCompatibilitySpec.java
} private boolean jvmCompatible(DaemonContext potentialContext) { if (desiredContext.getJvmCriteria() != null) { return desiredContext.getJvmCriteria().isCompatibleWith(potentialContext.getJavaVersion()); } else { try { File potentialJavaHome = potentialContext.getJavaHome(); JavaInfo desiredJavaHome = desiredContext.getJavaHome();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Apr 28 21:41:57 UTC 2024 - 3.8K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/GrettySmokeTest.groovy
] } static def grettyConfigForCurrentJavaVersion() { TestedVersions.gretty.findAll { JavaVersion.current().isCompatibleWith(it.javaMinVersion as JavaVersion) && (it.javaMaxVersion == null || JavaVersion.current() <= JavaVersion.toVersion(it.javaMaxVersion)) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 04:11:37 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoCoverage.groovy
(JavaVersion.VERSION_1_9): JacocoVersion.SUPPORTS_JDK_9, ] static List<String> getSupportedVersionsByJdk() { for (def cutoff : JDK_CUTOFFS) { if (JavaVersion.current().isCompatibleWith(cutoff.key)) { return filter(cutoff.value) } } return filter(JacocoVersion.SUPPORTS_JDK_8) } private static List<String> filter(JacocoVersion threshold) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 16:50:44 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocIntegrationTest.groovy
when: succeeds 'javadoc' then: file('build/docs/javadoc/Foo.html').text.contains("'some text'") where: option << (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_16) ? ['header'] : ['header', 'footer']) } def "can configure options with an Action"() { given: buildFile << ''' apply plugin: "java"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 06:04:19 UTC 2024 - 21.1K bytes - Viewed (0) -
platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/api/JavaVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 15.2K bytes - Viewed (0)