Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isJava8 (0.21 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/api/JavaVersionSpec.groovy

            expect:
            JavaVersion.current() == current
            JavaVersion.current().java6 == isJava6
            JavaVersion.current().java7 == isJava7
            JavaVersion.current().java8 == isJava8
            JavaVersion.current().java9 == isJava9
            JavaVersion.current().java10 == isJava10
            JavaVersion.current().java11 == isJava11
            JavaVersion.current().java12 == isJava12
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. 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)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestExecutionIntegrationTest.groovy

                        boolean isJava9 = Boolean.parseBoolean(System.getProperty("isJava9"));
                        String[] splitTestRuntimeClasspath = splitClasspath(System.getProperty("testRuntimeClasspath"));
                        if (isJava9) {
                            String[] splitCliClasspath = splitClasspath(System.getProperty("java.class.path"));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

            }
            return stackTrace;
        }
    
        @SuppressWarnings("Since15")
        private static List<? extends Throwable> extractSuppressed(Throwable throwable) {
            if (isJava7()) {
                return Arrays.asList(throwable.getSuppressed());
            }
            return Collections.emptyList();
        }
    
        @SuppressWarnings("MixedMutabilityReturnType")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. 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)
Back to top