Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 879 for StartsWith (0.13 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/ToolingApiUnsupportedBuildJvmCrossVersionSpec.groovy

            when:
            toolingApi.withConnection { ProjectConnection connection ->
                connection.newBuild().run()
            }
    
            then:
            GradleConnectionException e = thrown()
            e.message.startsWith("Could not execute build using ")
            e.cause.message == "Gradle ${targetDist.version.version} requires Java 8 or later to run. Your build is currently configured to use Java ${jdk.javaVersion.majorVersion}."
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. platforms/jvm/toolchains-jvm/src/crossVersionTest/groovy/org/gradle/jvm/toolchain/internal/install/ProvisionedJdkReuseCrossVersionIntegrationTest.groovy

            previousJavaHome.startsWith(jdkDir)
    
            and:
            jdkRepository.expectHead()
    
            when:
            result = version current withGradleUserHomeDir userHome withTasks 'run' withArguments '-Porg.gradle.java.installations.auto-download=true' run()
    
            then:
            def currentJavaHome = getPrintedJavaHome(result)
            currentJavaHome.startsWith(jdkDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

            if (requiredJdkRange.startsWith("!")) {
                return !currentJavaVersion.startsWith(requiredJdkRange.substring(1));
            } else if (isRange(requiredJdkRange)) {
                return isInRange(currentJavaVersion, getRange(requiredJdkRange));
            } else {
                return currentJavaVersion.startsWith(requiredJdkRange);
            }
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

            if (requiredJdkRange.startsWith("!")) {
                return !currentJavaVersion.startsWith(requiredJdkRange.substring(1));
            } else if (isRange(requiredJdkRange)) {
                return isInRange(currentJavaVersion, getRange(requiredJdkRange));
            } else {
                return currentJavaVersion.startsWith(requiredJdkRange);
            }
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/developingPlugins/pluginWithVariants/groovy/build.gradle

            usingSourceSet(gradle7)
            capability(project.group.toString(), project.name, project.version.toString()) // <1>
        }
    }
    
    configurations.configureEach {
        if (canBeConsumed && name.startsWith(gradle7.name))  {
            attributes {
                attribute(GradlePluginApiVersion.GRADLE_PLUGIN_API_VERSION_ATTRIBUTE, // <2>
                          objects.named(GradlePluginApiVersion, '7.0'))
            }
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 01:32:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/developingPlugins/pluginWithVariants/kotlin/build.gradle.kts

            usingSourceSet(gradle7)
            capability(project.group.toString(), project.name, project.version.toString()) // <1>
        }
    }
    
    configurations.configureEach {
        if (isCanBeConsumed && name.startsWith(gradle7.name))  {
            attributes {
                attribute(GradlePluginApiVersion.GRADLE_PLUGIN_API_VERSION_ATTRIBUTE, // <2>
                    objects.named("7.0"))
            }
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 01:32:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerCrossVersionSpec.groovy

            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.classpathContainers.size() == 3
            project.classpathContainers.find { it.path.startsWith 'org.eclipse.jdt.launching.JRE_CONTAINER' }
            project.classpathContainers.find { it.path == 'containerPath1' }
            project.classpathContainers.find { it.path == 'containerPath2' }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/PropertyAccessorType.java

            return methodName.startsWith("get") && methodName.length() > 3;
        }
    
        private static boolean isIsGetterName(String methodName) {
            return methodName.startsWith("is") && methodName.length() > 2;
        }
    
        private static boolean isSetterName(String methodName) {
            return methodName.startsWith("set") && methodName.length() > 3;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DetailedExecutionFailure.groovy

    import static org.hamcrest.CoreMatchers.startsWith
    
    class DetailedExecutionFailure {
        ExecutionFailure failure
    
        public DetailedExecutionFailure(ExecutionFailure failure) {
            this.failure = failure;
        }
    
        public assertTestsFailed() {
            failure
                .assertHasDescription("Execution failed for task ':test'.")
                .assertThatCause(startsWith("There were failing tests"));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

        }
    
        public void test_doGet_dir() {
            final File file = ResourceUtil.getResourceAsFile("test");
            String path = file.getAbsolutePath();
            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            try {
                fsClient.doGet("file://" + path);
                fail();
            } catch (final ChildUrlsException e) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top