Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 265 for JavaVersion (0.22 sec)

  1. platforms/core-runtime/build-configuration/src/main/java/org/gradle/internal/buildconfiguration/tasks/UpdateDaemonJvmModifier.java

        }
    
        private static void validateToolchainVersion(JavaVersion version) {
            // TODO: It would be nice to enforce this as part of task configuration instead of at runtime.
            // TODO: Need to consider how to handle future versions of Java that are not yet known. This currently allows any version of Java above the minimum.
            JavaVersion minimumSupportedVersion = JavaVersion.VERSION_1_8;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/InstrumentationCodeGenTest.groovy

        }
    
        private static com.google.testing.compile.Compiler getCompiler() {
            assumeTrue("Java 20+ do not support --release=8", Jvm.current().javaVersion < JavaVersion.VERSION_20)
            if (Jvm.current().javaVersion.isCompatibleWith(JavaVersion.VERSION_1_9)) {
                return javac().withOptions(COMPILE_OPTIONS + "--release=8")
            }
            return javac().withOptions(COMPILE_OPTIONS)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-configuration/src/test/groovy/org/gradle/internal/buildconfiguration/UpdateDaemonJvmModifierTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.buildconfiguration
    
    import org.gradle.api.JavaVersion
    import org.gradle.internal.buildconfiguration.tasks.UpdateDaemonJvmModifier
    import org.gradle.internal.jvm.inspection.JvmVendor
    import org.gradle.jvm.toolchain.JvmImplementation
    import org.gradle.test.fixtures.file.TestFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyApplicationInitIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.buildinit.plugins
    
    import org.gradle.api.JavaVersion
    import org.gradle.buildinit.plugins.fixtures.ScriptDslFixture
    
    class GroovyApplicationInitIntegrationTest extends AbstractJvmLibraryInitIntegrationSpec {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/TargetJVMVersionOnLibraryTooNewFailureDescriber.java

        @Override
        protected JavaVersion getJVMVersion(IncompatibleGraphVariantFailure failure) {
            AttributeValue<Integer> jvmVersionAttribute = failure.getRequestedAttributes().findEntry(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE);
            return JavaVersion.toVersion(jvmVersionAttribute.get());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 12:37:16 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/JdtTest.groovy

            Properties properties = new Properties()
    
            when:
            jdt.loadDefaults()
            jdt.sourceCompatibility = JavaVersion.VERSION_1_3
            jdt.targetCompatibility = JavaVersion.VERSION_1_3
            store(properties)
    
            then:
            properties['org.eclipse.jdt.core.compiler.compliance'] == '1.3'
            properties['org.eclipse.jdt.core.compiler.source'] == '1.3'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/KotlinApplicationInitIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.buildinit.plugins
    
    import org.gradle.api.JavaVersion
    import org.gradle.buildinit.plugins.fixtures.ScriptDslFixture
    import org.gradle.test.fixtures.file.LeaksFileHandles
    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.UnitTestPreconditions
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/CrossProjectMultipleVariantSelectionIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.integtests.resolve.attributes
    
    import org.gradle.api.JavaVersion
    import org.gradle.integtests.fixtures.AbstractDependencyResolutionTest
    import org.gradle.integtests.fixtures.resolve.ResolveTestFixture
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:47:05 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-configuration/src/integTest/groovy/org/gradle/interal/buildconfiguration/tasks/UpdateDaemonJvmIntegrationTest.groovy

            where:
            version << [JavaVersion.VERSION_11, JavaVersion.VERSION_15, JavaVersion.VERSION_HIGHER]
        }
    
        def "When execute updateDaemonJvm for valid Java 8 versions Then build properties are populated with expected values"() {
            when:
            run "updateDaemonJvm", "--jvm-version=${version}"
    
            then:
            assertJvmCriteria(JavaVersion.VERSION_1_8)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/internal/IdeaModuleSupport.java

    package org.gradle.plugins.ide.idea.internal;
    
    import org.gradle.api.JavaVersion;
    import org.gradle.api.NonNullApi;
    
    @NonNullApi
    public class IdeaModuleSupport {
    
        /**
         * Java compatibility to use if there are no projects providing that information.
         */
        public static final JavaVersion FALLBACK_MODULE_JAVA_COMPATIBILITY_VERSION = JavaVersion.VERSION_1_6;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 12:13:36 UTC 2023
    - 991 bytes
    - Viewed (0)
Back to top