Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 874 for installations (0.18 sec)

  1. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy

            Collection<String> installations,
            InstallationLocation currentJvm = null,
            Function<String, String> getVersion = { it },
            Function<String, String> getVendor = { "" }
        ) {
            def detector = newJvmMetadataDetector(getVersion, getVendor)
            def registry = createInstallationRegistry(installations, detector)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractSampleIntegrationTest.groovy

            def jdks = AvailableJavaHomes.getJdks(versions)
            Assume.assumeTrue(versions.length == jdks.size())
            executer.beforeExecute {
                withArgument("-Porg.gradle.java.installations.paths=" + jdks.collect { it.javaHome.absolutePath }.join(","))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/InvalidInstallationWarningReporterTest.groovy

    import spock.lang.Specification
    
    class InvalidInstallationWarningReporterTest extends Specification {
    
        def mockLogger = Mock(Logger)
    
        def 'reporter logs only invalid installations'() {
            given:
            def reporter = new InvalidInstallationWarningReporter(mockLogger)
            def location = InstallationLocation.userDefined(new File("_"), "_")
            def metadata = Mock(JvmInstallationMetadata) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/JvmInstallationProblemReporter.java

    import java.util.Set;
    
    /**
     * A BuildSession-scoped service that reports JVM installation problems.
     *
     * <p>
     * This cannot be merged in to {@link DefaultJavaInstallationRegistry} as we must rediscover JVM installations on each build invocation,
     * as e.g. the {@code GradleBuild} task could be used to change the system properties and environment variables that affect the JVM installation.
     * </p>
     */
    @NonNullApi
    @ServiceScope(Scope.BuildSession.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

        private static List<String> toolchainParameters() {
            return [
                "-Porg.gradle.java.installations.paths=${AvailableJavaHomes.getAvailableJvms().collect { it.javaHome.absolutePath }.join(",")}" as String,
                '-Porg.gradle.java.installations.auto-detect=false',
                '-Porg.gradle.java.installations.auto-download=false',
            ]
        }
    
        private static List<String> kotlinDslParameters() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformOnJdk7IntegrationTest.groovy

        def setup() {
            def jdk7 = AvailableJavaHomes.getJdk7()
            assumeNotNull(jdk7)
            file("gradle.properties").writeProperties("org.gradle.java.installations.paths": jdk7.javaHome.canonicalPath)
            buildFile << """
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/EnvironmentVariableListInstallationSupplier.java

    import java.util.stream.Collectors;
    
    public class EnvironmentVariableListInstallationSupplier implements InstallationSupplier {
    
        public static final String JAVA_INSTALLATIONS_FROM_ENV_PROPERTY = "org.gradle.java.installations.fromEnv";
    
        private final ToolchainConfiguration buildOptions;
        private final FileResolver fileResolver;
        private final Map<String, String> environment;
    
        @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. cluster/addons/calico-policy-controller/calico-clusterrole.yaml

        resources:
          - nodes
        verbs:
          - get
          - list
          - watch
      # These permissions are only required for upgrade from v2.6, and can
      # be removed after upgrade or on fresh installations.
      - apiGroups: ["crd.projectcalico.org"]
        resources:
          - bgpconfigurations
          - bgppeers
        verbs:
          - create
          - update
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 26 02:52:06 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/JvmInstallationProblemReporterTest.groovy

            then:
            1 * logger.log(LogLevel.WARN, "message")
            1 * logger.log(LogLevel.WARN, "another message")
        }
    
        def "reports problems with auto-detected installations at INFO"() {
            when:
            problemReporter.reportProblemIfNeeded(logger, InstallationLocation.autoDetected(location, "source"), "message")
            then:
            1 * logger.log(LogLevel.INFO, "message")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/jvm/toolchains-jvm/src/main/java/org/gradle/api/plugins/JvmToolchainsPlugin.java

    import org.gradle.jvm.toolchain.internal.JavaToolchainQueryService;
    
    import javax.inject.Inject;
    
    /**
     * A plugin that provides JVM toolchains for projects that need to execute Java from local JVM installations or run the tools included in a JDK.
     * The plugin makes {@link JavaToolchainService} available via a project extension.
     *
     * @since 7.6
     */
    @Incubating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 28 16:17:59 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top