Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for jre (0.02 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy

            def jvm = new Jvm(os, software.file('jre'), "1.8.0.221", 8)
    
            then:
            jvm.javaHome == software.file('jre')
            !jvm.jdk
            jvm.toolsJar == null
            jvm.javaExecutable == software.file('jre/bin/java.exe')
            jvm.embeddedJre == null
            jvm.standaloneJre == null
            jvm.jre == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesKotlinDSLDependenciesIntegrationTest.groovy

                    assert(testCompileClasspathFileNames.containsAll(listOf("commons-lang3-3.12.0.jar", "guava-33.0.0-jre.jar")))
                    assert(testRuntimeClasspathFileNames.containsAll(listOf("commons-lang3-3.12.0.jar", "guava-33.0.0-jre.jar")))
    
                    assert(integTestCompileClasspathFileNames.containsAll(listOf("guava-29.0-jre.jar"))) { "constraints apply to compile classpath" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/Jvm.java

         * This method is intended to be used for user supplied java homes.
         *
         * @param javaHome - location of your jdk or jre (jdk is safer), cannot be null
         * @return jvm for given java home
         * @throws org.gradle.internal.jvm.JavaHomeException when supplied javaHome does not seem to be a valid jdk or jre location
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:57:34 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part3_gradle_dep_man.adoc

    Gradle needs specific information to find a dependency.
    Let's look at `libs.guava` -> `com.google.guava:guava:32.1.2-jre` and `libs.junit.jupiter` -> `org.junit.jupiter:junit-jupiter-api:5.9.1`; they are broken down as follows:
    
    [cols="10h,30,40,20"]
    |===
    | |Description | com.google.guava:guava:32.1.2-jre | org.junit.jupiter:junit-jupiter-api:5.9.1
    
    |Group
    |identifier of an organization
    |`com.google.guava`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 22:40:17 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesGroovyDSLDependenciesIntegrationTest.groovy

                    assert !testCompileClasspathFileNames.contains('mysql-connector-java-8.0.26.jar'): 'runtimeOnly dependency'
                    assert testRuntimeClasspathFileNames.containsAll('commons-lang3-3.11.jar', 'guava-30.1.1-jre.jar', 'mysql-connector-java-8.0.26.jar')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  6. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetectorTest.groovy

            'openJdk9'       | openJdkJvm('9')          | JavaVersion.VERSION_1_9 | 'OpenJDK JRE 9'              | true
            'AdoptOpenJDK11' | adoptOpenJDK('11.0.3')   | JavaVersion.VERSION_11  | 'AdoptOpenJDK 11'            | false
            'AdoptOpenJDK11' | adoptOpenJDK('11.0.3')   | JavaVersion.VERSION_11  | 'AdoptOpenJDK JRE 11'        | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AvailableJavaHomes.java

        }
    
        /**
         * Locates a JRE installation for the current JVM. Prefers a stand-alone JRE installation over one that is part of a JDK install.
         *
         * @return The JRE home directory, or null if not found
         */
        public static File getBestJre() {
            Jvm jvm = Jvm.current();
            File jre = jvm.getStandaloneJre();
            if (jre != null) {
                return jre;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/ShowToolchainsTaskTest.groovy

         | Location:           {description}path{normal}
         | Language Version:   {description}14{normal}
         | Vendor:             {description}AdoptOpenJDK{normal}
         | Architecture:       {description}archName{normal}
         | Is JDK:             {description}false{normal}
         | Detected by:        {description}TestSource{normal}
    
    {identifier} + AdoptOpenJDK JRE 15-ea+2{normal}
         | Location:           {description}path{normal}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/jvm/toolchains.adoc

    [[sec:precedence]]
    == Toolchain installations precedence
    
    Gradle will sort all the JDK/JRE installations matching the toolchain specification of the build and will pick the first one.
    Sorting is done based on the following rules:
    
    . the installation currently running Gradle is preferred over any other
    . JDK installations are preferred over JRE ones
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:37:54 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

            expect: "a dependency has been added to the api configuration"
            succeeds("dependencies", "--configuration", "api")
            outputContains("com.google.guava:guava:30.1.1-jre")
    
            and: "a dependency has been added to the implementation configuration"
            succeeds("dependencies", "--configuration", "implementation")
            outputContains("org.apache.commons:commons-lang3:3.12.0")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top