Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for withInstallations (0.18 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ScalaCompileJavaToolchainIntegrationTest.groovy

                }
            """
    
            when:
            withInstallations(currentJdk, otherJdk).run(":compileScala")
            then:
            executedAndNotSkipped(":compileScala")
    
            when:
            withInstallations(currentJdk, otherJdk).run(":compileScala")
            then:
            skipped(":compileScala")
    
            when:
            withInstallations(currentJdk, otherJdk).run(":compileScala", "-Pchanged", "--info")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:32:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/GroovyCompileToolchainIntegrationTest.groovy

                }
            """
    
            when:
            withInstallations(currentJdk, otherJdk).run(":compileGroovy")
            then:
            executedAndNotSkipped(":compileGroovy")
    
            when:
            withInstallations(currentJdk, otherJdk).run(":compileGroovy")
            then:
            skipped(":compileGroovy")
    
            when:
            withInstallations(currentJdk, otherJdk).run(":compileGroovy", "-Pchanged", "--info")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 17:37:16 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocToolchainIntegrationTest.groovy

                    }
                }
            """
    
            when:
            withInstallations(jdk1, jdk2).run(":javadoc")
            then:
            executedAndNotSkipped(":javadoc")
            file("build/docs/javadoc/Lib.html").text.contains("Some API documentation.")
    
            when:
            withInstallations(jdk1, jdk2).run(":javadoc")
            then:
            skipped(":javadoc")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

            // Test up-to-date checks
            when:
            withInstallations(jdk, otherJdk).run(":compileJava")
            then:
            skipped(":compileJava")
    
            when:
            withInstallations(jdk, otherJdk).run(":compileJava", "-Pchanged")
            then:
            executedAndNotSkipped(":compileJava")
    
            when:
            withInstallations(jdk, otherJdk).run(":compileJava", "-Pchanged")
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileCompatibilityIntegrationTest.groovy

            when:
            withInstallations(jdk17).succeeds(":compileJava")
            then:
            executedAndNotSkipped(":compileJava")
            classJavaVersion(javaClassFile("Main.class")) == JavaVersion.VERSION_11
    
            // Running with JVM 17 works, because the required Java 15 API is available at runtime
            when:
            withInstallations(jdk17).succeeds(":run")
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. 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)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy

                    public void test() {}
                }
            """
    
            when:
            withInstallations(jdkMetadata).run(task)
            def events = toolchainEvents(task)
            then:
            executedAndNotSkipped(task)
            assertToolchainUsages(events, jdkMetadata, tool)
    
            when:
            withInstallations(jdkMetadata).run(task)
            events = toolchainEvents(task)
            then:
            skipped(task)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. 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)
Back to top