Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for withGradleInstallation (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top