- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for withInstallations (0.24 sec)
-
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocToolchainIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 8.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainFixture.groovy
* * when: * withInstallations(jvm1, jvm2).run(":task") * </pre> */ AbstractIntegrationSpec withInstallations(Jvm jvm, Jvm... rest) { return withInstallations([jvm] + rest.toList()) } AbstractIntegrationSpec withInstallations(List<Jvm> jvms) { def installationPaths = jvms.collect { it.javaHome.absolutePath }.join(",")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecToolchainIntegrationTest.groovy
} setJvmArgs(['-version']) mainClass = 'None' } """ when: withInstallations(jdk).run(":run", "--info") then: executedAndNotSkipped(":run") outputContains("Command: ${jdk.javaHome.absolutePath}") where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 06:42:07 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/UpToDateScalaCompileIntegrationTest.groovy
} """ when: withInstallations(jdk8, jdk11).run 'compileScala' then: executedAndNotSkipped ':compileScala' when: withInstallations(jdk8, jdk11).run 'compileScala' then: skipped ':compileScala' when: withInstallations(jdk8, jdk11).run 'compileScala', '-Pchanged', '--info' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesMultiTargetIntegrationTest.groovy
} } } } } } """ when: withInstallations(Jvm.current(), otherJvm).succeeds("check") then: result.assertTaskExecuted(":test") result.assertTaskExecuted(":testOtherJdk") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:55:38 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/scaladoc/ScalaDocIntegrationTest.groovy
} } """ when: withInstallations(jdk8, jdk11).run scaladoc then: executedAndNotSkipped scaladoc when: withInstallations(jdk8, jdk11).run scaladoc then: skipped scaladoc when: withInstallations(jdk8, jdk11).run scaladoc, '-Pchanged', '--info' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainIntegrationTest.groovy
${vendor ? "vendor = JvmVendorSpec.matching('${jdkMetadata.vendor.rawVendor}')" : ""} }.getOrNull() """ when: withInstallations(jdkMetadata).run ':help' then: executedAndNotSkipped ':help' where: description | languageVersion | vendor
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 15:18:26 UTC 2023 - 7.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/JansiEndUserIntegrationTest.groovy
} """ file('src/main/java/MyClass.java') << """ public class MyClass {} """ withInstallations(AvailableJavaHomes.jdk11).succeeds 'compileJava' then: outputContains('Hello World') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 24 18:12:50 UTC 2023 - 8.7K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskToolchainIntegrationTest.groovy
configureProjectWithJavaPlugin(compileWithVersion) configureLauncher(jdkOther) configureExecutable(jdkCurrent) when: withInstallations(jdkCurrent, jdkOther).runAndFail(":test") then: failureDescriptionStartsWith("Execution failed for task ':test'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 06:04:19 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainCoexistWithCurrentOptionsIntegrationTest.groovy
writeJvmCriteria(otherJvm) captureJavaHome() executer.withArgument("-Porg.gradle.java.installations.auto-detect=false") expect: withInstallations(otherJvm).succeeds("help") assertDaemonUsedJvm(otherJvm) } @Requires(IntegTestPreconditions.JavaHomeWithDifferentVersionAvailable)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 4.4K bytes - Viewed (0)