Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainIntegrationTest.groovy

            given:
            def otherJvm = AvailableJavaHomes.differentVersion
            writeJvmCriteria(otherJvm)
            captureJavaHome()
    
            expect:
            withInstallations(otherJvm).succeeds("help")
            assertDaemonUsedJvm(otherJvm)
        }
    
        def "Given daemon toolchain criteria that doesn't match installed ones When executing any task Then fails with the expected message"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. testing/public-api-tests/src/integTest/groovy/org/gradle/api/PublicApiIntegrationTest.groovy

        def kotlinVersion = System.getProperty("integTest.kotlinVersion")
    
        def setup() {
            executer.beforeExecute {
                args("-Dorg.gradle.unsafe.suppress-gradle-api=true")
                withInstallations(jvm)
            }
    
            file("src/test/java/org/example/PublishedApiTestPluginTest.java") << pluginTestJava()
        }
    
        def "can compile Java code against public API"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 08:43:08 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. 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)
Back to top