Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for configureProjectWithJavaPlugin (0.48 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocToolchainIntegrationTest.groovy

        }
    
        def "fails on toolchain and executable mismatch (with java plugin)"() {
            def jdkCurrent = Jvm.current()
            def jdkOther = AvailableJavaHomes.differentVersion
    
            configureProjectWithJavaPlugin()
    
            configureJavadocTool(jdkOther)
            configureExecutable(jdkCurrent)
    
            when:
            withInstallations(jdkCurrent, jdkOther).runAndFail(":javadoc")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskToolchainIntegrationTest.groovy

            def jdkCurrent = Jvm.current()
            def jdkOther = AvailableJavaHomes.differentVersion
    
            def compileWithVersion = [jdkCurrent, jdkOther].collect { it.javaVersion }.min()
    
            configureProjectWithJavaPlugin(compileWithVersion)
    
            configureLauncher(jdkOther)
            configureExecutable(jdkCurrent)
    
            when:
            withInstallations(jdkCurrent, jdkOther).runAndFail(":test")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top