Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isJava7 (0.1 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. 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)
  3. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
          TempFileCreator.testMakingUserPermissionsFromScratch();
          assertThat(isJava8()).isFalse();
        } catch (IOException expectedIfJava8) {
          assertThat(isJava8()).isTrue();
        } finally {
          System.setProperty("user.name", save);
        }
      }
    
      private static boolean isAndroid() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
          TempFileCreator.testMakingUserPermissionsFromScratch();
          assertThat(isJava8()).isFalse();
        } catch (IOException expectedIfJava8) {
          assertThat(isJava8()).isTrue();
        } finally {
          System.setProperty("user.name", save);
        }
      }
    
      private static boolean isAndroid() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec/compileJavaFx8Code/build.gradle

    apply plugin: "groovy"
    
    repositories {
        mavenCentral()
    }
    
    compileGroovy {
        if (JavaVersion.current().isJava9()) {
            options.compilerArgs += ['--add-modules', 'javafx.graphics']
            groovyOptions.forkOptions.jvmArgs += ['--add-modules', 'javafx.graphics']
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 279 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