- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for withGradleInstallation (0.5 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy
""" when: def runner = GradleRunner.create() runner.withJvmArguments("-javaagent:${agentJar}") if (!GradleContextualExecuter.embedded) { runner.withGradleInstallation(buildContext.gradleHomeDir) } runner.withArguments("--configuration-cache") runner.forwardOutput() runner.withProjectDir(testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/UnsupportedFeatureException.java
/** * Thrown when a build was executed with a target Gradle version that does not support a specific feature. * * @since 2.11 * @see GradleRunner#withGradleVersion(java.lang.String) * @see GradleRunner#withGradleInstallation(java.io.File) * @see GradleRunner#withGradleDistribution(java.net.URI) */ public class UnsupportedFeatureException extends RuntimeException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/GradleProvider.java
gradleConnector.useInstallation(gradleHome); } @Override public void applyTo(GradleRunner gradleRunner) { gradleRunner.withGradleInstallation(gradleHome); } } private static final class UriGradleProvider extends GradleProvider { private final URI uri; public UriGradleProvider(URI uri) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCrossGroovyVersionIntegrationTest.groovy
''' when: def result = GradleRunner.create() .withProjectDir(testProjectDir.getRoot()) .withArguments('testGroovyVersion', '--stacktrace', '--info') .withGradleInstallation(new File("${TextUtil.normaliseFileSeparators(buildContext.gradleHomeDir.absolutePath)}")) .withDebug($debug) .build() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerGradleVersionIntegrationTest.groovy
killDaemons(version) where: type | version | configurer "embedded" | buildContext.version.version | { if (!GradleContextualExecuter.embedded) { it.withGradleInstallation(buildContext.gradleHomeDir) } } "locator" | lowestMajorGradleVersion | { it.withGradleDistribution(locator.getDistributionFor(GradleVersion.version(lowestMajorGradleVersion))) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsTestKitInjectedJavaPluginIntegrationTest.groovy
} private GradleRunner createRunner() { def runner = GradleRunner.create() if (!GradleContextualExecuter.embedded) { runner.withGradleInstallation(buildContext.gradleHomeDir) } runner.withTestKitDir(testKitDir) runner.withProjectDir(workingDir) def args = allArgs args.remove("--no-daemon")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/GradleRunner.java
* The system property and environment variable are read in the process using the runner, not the build process. * <p> * Alternatively, you may use {@link #withGradleInstallation(File)} to use an installation already on the filesystem. * <p> * To use a non standard Gradle runtime, or to obtain the runtime from an alternative location, use {@link #withGradleDistribution(URI)}. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 19.6K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/SmokeTestGradleRunner.groovy
delegate.withGradleVersion(versionNumber) return this } @Override SmokeTestGradleRunner withGradleInstallation(File installation) { delegate.withGradleInstallation(installation) return this } @Override SmokeTestGradleRunner withGradleDistribution(URI distribution) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 15K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginTest.kt
File(projectRoot, "gradle.properties").writeText("org.gradle.jvmargs=-Xmx128m") // and: val runner = GradleRunner.create() .withGradleInstallation(File("${distribution.gradleHomeDir.normalisedPath}")) .withTestKitDir(File("${executer.gradleUserHomeDir.normalisedPath}")) .withProjectDir(projectRoot)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 30 11:39:02 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc
* link:{javadocPath}/org/gradle/testkit/runner/GradleRunner.html#withGradleInstallation-java.io.File-[GradleRunner.withGradleInstallation(java.io.File)] * link:{javadocPath}/org/gradle/testkit/runner/GradleRunner.html#withGradleDistribution-java.net.URI-[GradleRunner.withGradleDistribution(java.net.URI)]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 05:36:09 UTC 2024 - 15.8K bytes - Viewed (0)