Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 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/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)
  4. 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)
  5. 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)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/plugin/devel/variants/TargetJVMVersionOnPluginTooNewFailureDescriberIntegrationTest.groovy

            when:
            projectDir(producer)
            withInstallations(currentJdk, otherJdk)
            executer.withJavaHome(higherVersion.javaHome)
            succeeds 'publish'
    
            then:
            pluginModule.assertPublished()
            pluginMarker.assertPublished()
            pluginModule.artifact([:]).assertPublished()
    
            when:
            projectDir(consumer)
            withInstallations(currentJdk, otherJdk)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 20:48:53 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginToolchainsIntegrationTest.groovy

                boolean isSatisfiedBy(JvmInstallationMetadata metadata) {
                    metadata.getLanguageVersion() >= CheckstyleCoverage.getMinimumSupportedJdkVersion(versionNumber)
                }
            })
            withInstallations(jdk)
            return jdk
        }
    
        private void writeBuildFile() {
            buildFile << """
                plugins {
                    id 'groovy'
                    id 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileProblemsIntegrationTest.groovy

            generator.addWarning()
            generator.save()
            possibleFileLocations.put(generator.sourceFile.absolutePath, 1)
    
            when:
            executer.withArguments("--info")
            withInstallations(AvailableJavaHomes.getJdk(JavaVersion.VERSION_1_8))
            succeeds(":compileJava")
    
            then:
            outputContains(DiagnosticToProblemListener.FORMATTER_FALLBACK_MESSAGE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:15:29 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

        def "test can install an irreplaceable SecurityManager"() {
            given:
            executer
                .withStackTraceChecksDisabled()
                .withToolchainDetectionEnabled()
            withInstallations(AvailableJavaHomes.getAvailableJvms())
            buildFile << """
                plugins {
                    id("java")
                }
                ${javaPluginToolchainVersion(11)}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top