Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for withGradleInstallation (0.23 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

            assert parentDir.isDirectory() || parentDir.mkdirs()
    
            file
        }
    
        SmokeTestGradleRunner runner(String... tasks) {
            def gradleRunner = GradleRunner.create()
                .withGradleInstallation(IntegrationTestBuildContext.INSTANCE.gradleHomeDir)
                .withTestKitDir(IntegrationTestBuildContext.INSTANCE.gradleUserHomeDir)
                .withProjectDir(testProjectDir)
                .forwardOutput()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultGradleRunner.java

        public GradleRunner withGradleVersion(String versionNumber) {
            this.gradleProvider = GradleProvider.version(versionNumber);
            return this;
        }
    
        @Override
        public GradleRunner withGradleInstallation(File installation) {
            this.gradleProvider = GradleProvider.installation(installation);
            return this;
        }
    
        @Override
        public GradleRunner withGradleDistribution(URI distribution) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/AlreadyOnClasspathPluginUseIntegrationTest.groovy

                            \"\"\".stripIndent()
    
                            //when:
                            def runner = GradleRunner.create()
                                .withGradleInstallation(new File("${TextUtil.normaliseFileSeparators(distribution.gradleHomeDir.absolutePath)}"))
                                .withTestKitDir(new File("${TextUtil.normaliseFileSeparators(executer.gradleUserHomeDir.absolutePath)}"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 16.2K bytes
    - Viewed (0)
Back to top