Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 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/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/documentation/docs/src/snippets/dependencyManagement/customizingResolution-attributeSubstitutionRule/kotlin/consumer/build.gradle.kts

            substitute(platform(module("com.google.guava:guava:28.2-jre")))
                .using(module("com.google.guava:guava:28.2-jre"))
        }
    }
    // end::substitution_rule[]
    
    // tag::substitution_rule_alternative[]
    configurations.all {
        resolutionStrategy.dependencySubstitution {
            substitute(variant(module("com.google.guava:guava:28.2-jre")) {
                attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. 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)
  8. platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-attributeSubstitutionRule/groovy/consumer/build.gradle

            substitute(platform(module('com.google.guava:guava:28.2-jre'))).
                using module('com.google.guava:guava:28.2-jre')
        }
    }
    // end::substitution_rule[]
    
    // tag::substitution_rule_alternative[]
    configurations.all {
        resolutionStrategy.dependencySubstitution {
            substitute variant(module('com.google.guava:guava:28.2-jre')) {
                attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  9. 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)
  10. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataComparatorTest.groovy

        }
    
        def "prefers jdk over jre"() {
            def jdk = jvmMetadata("8.0.1", true)
            def jre = jvmMetadata("8.0.1", false)
    
            given:
            def metadata = [jre, jdk]
    
            when:
            metadata.sort(new JvmInstallationMetadataComparator(getJavaHome()))
    
            then:
            metadata == [jdk, jre]
        }
    
        @Issue("https://github.com/gradle/gradle/issues/17195")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top