Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for jre (0.04 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/jvm/toolchains-jvm/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistryTest.groovy

        }
    
        def "normalize installations to account for standalone jre"() {
            given:
            def jre = createJreInstallation("8")
    
            when:
            def registry = createRegistry([jre])
            def installations = registry.listInstallations()
    
            then:
            installations.size() == 1
            installations[0].location == jre
            installations[0].source == "testSource"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryPublishedTargetJvmEnvironmentIntegrationTest.groovy

            given:
            prepareResolve('legacy', 'jre')
    
            when:
            run ':checkDeps'
    
            then:
            expectStandardJVM()
        }
    
        def "can enforce standard JVM variant on Android by constraint"() {
            given:
            prepareResolve('releaseCompileClasspath', 'jre')
    
            buildFile << """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. README.md

    Guava's Maven group ID is `com.google.guava`, and its artifact ID is `guava`.
    Guava provides two different "flavors": one for use on a (Java 8+) JRE and one
    for use on Android or by any library that wants to be compatible with Android.
    These flavors are specified in the Maven version field as either `33.2.1-jre` or
    `33.2.1-android`. For more about depending on Guava, see
    [using Guava in your build].
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 17:43:52 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top