Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for setJdk (0.21 sec)

  1. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
            notActivated.setActivation(nonActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
            Activation defaultActivation = new Activation();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/EclipseModelBuilder.java

            if (jdt != null) {
                eclipseProject.setJavaSourceSettings(new DefaultEclipseJavaSourceSettings().setSourceLanguageLevel(jdt.getSourceCompatibility()).setTargetBytecodeVersion(jdt.getTargetCompatibility()).setJdk(DefaultInstalledJdk.current()));
            }
        }
    
        private DefaultEclipseProject findEclipseProject(final Project project) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cluster-erasure-set.go

    		"Read quorum for the erasure set in a pool", poolIDL, setIDL)
    	erasureSetWriteQuorumMD = NewGaugeMD(erasureSetWriteQuorum,
    		"Write quorum for the erasure set in a pool", poolIDL, setIDL)
    	erasureSetOnlineDrivesCountMD = NewGaugeMD(erasureSetOnlineDrivesCount,
    		"Count of online drives in the erasure set in a pool", poolIDL, setIDL)
    	erasureSetHealingDrivesCountMD = NewGaugeMD(erasureSetHealingDrivesCount,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/preconditions/IntegTestPreconditions.groovy

            boolean isSatisfied() throws Exception {
                return AvailableJavaHomes.getJdk(
                    JavaVersion.toVersion(11)
                )
            }
        }
    
        static class Java17HomeAvailable implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return AvailableJavaHomes.getJdk(
                    JavaVersion.toVersion(17)
                )
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/UpToDateScalaCompileIntegrationTest.groovy

            IntegTestPreconditions.Java11HomeAvailable
        ])
        def "compile is out of date when changing the java version"() {
            def jdk8 = AvailableJavaHomes.getJdk(VERSION_1_8)
            def jdk11 = AvailableJavaHomes.getJdk(VERSION_11)
    
            buildScript(scalaProjectBuildScript(ScalaBasePlugin.DEFAULT_ZINC_VERSION, '2.12.6'))
            when:
            executer.withJavaHome(jdk8.javaHome)
            run 'compileScala'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    			}{
    				Maintenance:   opts.Maintenance,
    				SetID:         setIdx,
    				PoolID:        poolIdx,
    				Healthy:       erasureSetUpCount[poolIdx][setIdx].online >= poolWriteQuorums[poolIdx],
    				HealthyRead:   erasureSetUpCount[poolIdx][setIdx].online >= poolReadQuorums[poolIdx],
    				HealthyDrives: erasureSetUpCount[poolIdx][setIdx].online,
    				HealingDrives: erasureSetUpCount[poolIdx][setIdx].healing,
    				ReadQuorum:    poolReadQuorums[poolIdx],
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileCompatibilityIntegrationTest.groovy

                }
            """
        }
    
        def "source compatibility lower than compiler version allows accessing newer JDK APIs"() {
            def jdk11 = AvailableJavaHomes.getJdk(JavaVersion.VERSION_11)
            def jdk17 = AvailableJavaHomes.getJdk(JavaVersion.VERSION_17)
    
            buildFile << """
                apply plugin: "java"
                apply plugin: "application"
    
                application.mainClass = "Main"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. testing/soak/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadComplexProjectSoakTest.groovy

        }
    
        private Jvm getJdkWithDifferentVendor() {
            def jdkMetadata = getJvmInstallationMetadata(jdkRepository.getJdk())
            def filterForOtherJdk = (JvmInstallationMetadata metadata) -> !AvailableJavaHomes.isCurrentJavaHome(metadata) &&
                jdkRepository.getJdk().getJavaHome().toPath().toAbsolutePath() != metadata.javaHome.toAbsolutePath() &&
                metadata.vendor.rawVendor != jdkMetadata.vendor.rawVendor
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AvailableJavaHomes.java

        public static Jvm getJdk7() {
            return getJdk(JavaVersion.VERSION_1_7);
        }
    
        @Nullable
        public static Jvm getJdk8() {
            return getJdk(JavaVersion.VERSION_1_8);
        }
    
        @Nullable
        public static Jvm getJdk11() {
            return getJdk(JavaVersion.VERSION_11);
        }
    
        @Nullable
        public static Jvm getJdk17() {
            return getJdk(JavaVersion.VERSION_17);
        }
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

            "top-level property has convention and is set"     | setId("convention")                | setId("test")         | """id = test\nbar = bar"""
            "top-level property has convention, nested is set" | setId("convention")                | setFooBar("baz")      | """id = convention\nbar = baz"""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top