Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isJava5 (0.67 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/api/JavaVersion.java

        }
    
    
        public boolean isJava5() {
            return this == VERSION_1_5;
        }
    
        public boolean isJava6() {
            return this == VERSION_1_6;
        }
    
        public boolean isJava7() {
            return this == VERSION_1_7;
        }
    
        public boolean isJava8() {
            return this == VERSION_1_8;
        }
    
        public boolean isJava9() {
            return this == VERSION_1_9;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r211/ToolingApiIdeaModelCrossVersionSpec.groovy

                    }
                }
            """
    
            when:
            def ideaProject = loadIdeaProjectModel()
    
            then:
    
            ideaProject.javaLanguageSettings.languageLevel.isJava5()
            // modules
            ideaProject.modules.find { it.name == 'root' }.javaLanguageSettings == null
            ideaProject.modules.find { it.name == 'child1' }.javaLanguageSettings == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/MavenDownloaderTest.groovy

        def downloader
    
        def setup() {
            installRoot = Files.createTempDirectory(tmpDir.toPath(), null).toFile()
            downloader = new MavenInstallationDownloader(installRoot)
            if (JavaVersion.current().isJava7()) {
                System.setProperty("https.protocols", "TLSv1.2")
            }
        }
    
        def "can download Maven distribution with version #mavenVersion"() {
            when:
            def install
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top