Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 446 for ends_with (0.4 sec)

  1. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseSourcesAndJavadocJarsIntegrationTest.groovy

            if (!sources.isEmpty()) {
                assert lib.sourcePath != null: "no sources attached"
                assert lib.sourcePath.endsWith("/${sources.get(0)}")
            }
            if (!javadoc.isEmpty()) {
                assert lib.javadocLocation != null: "no javadoc attached"
                assert lib.javadocLocation.endsWith("/${javadoc.get(0)}!/")
            }
        }
    
        @Override
        void ideFileContainsGradleApi(String apiJarPrefix) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternMatcherFactory.java

            if (pattern.length() == 0) {
                return END_OF_PATH_MATCHER;
            }
    
            // trailing / or \ assumes **
            if (pattern.endsWith("/") || pattern.endsWith("\\")) {
                pattern = pattern + "**";
            }
            List<String> parts = PATH_SPLITTER.splitToList(pattern);
            return compile(parts, 0, caseSensitive);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.endsWith;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @Deprecated
    class ProjectDependenciesResolverTest extends AbstractCoreMavenComponentTestCase {
        @Inject
        private ProjectDependenciesResolver resolver;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/PrecompiledGroovyScript.java

                this.fileExtension = fileExtension;
            }
    
            static Type getType(String fileName) {
                if (fileName.endsWith(SETTINGS.fileExtension)) {
                    return SETTINGS;
                }
                if (fileName.endsWith(INIT.fileExtension)) {
                    return INIT;
                }
                return PROJECT;
            }
    
            PluginId toPluginId(String fileName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/files/archivesWithJavaPlugin/kotlin/build.gradle.kts

    tasks.register<Jar>("uberJar") {
        archiveClassifier = "uber"
    
        from(sourceSets.main.get().output)
    
        dependsOn(configurations.runtimeClasspath)
        from({
            configurations.runtimeClasspath.get().filter { it.name.endsWith("jar") }.map { zipTree(it) }
        })
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 485 bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultMavenRepositoryContentDescriptor.java

                        String version = details.getComponentId().getVersion();
                        if (snapshots && !version.endsWith("-SNAPSHOT")) {
                            details.notFound();
                            return;
                        }
                        if (releases && version.endsWith("-SNAPSHOT")) {
                            details.notFound();
                        }
                    }
                };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/OptionsFileArgsWriterTest.groovy

            when:
            argsWriter.execute(args)
    
            then:
            args.size() == 1
            hasOptionsFile(args)
        }
    
        boolean hasOptionsFile(args) {
            args.any({ it.startsWith("@") && it.endsWith("options.txt") })
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                        FileVisitResult.CONTINUE
    
                    private
                    fun Path.isClassFilePath() =
                        toString().endsWith(".class")
    
                    private
                    fun Path.isBuildReceipt() =
                        toString() == "/org/gradle/build-receipt.properties"
    
                    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/jvm/JavaModuleDetectorTest.groovy

            moduleDetector.inferModulePath(true, entries).collect { it.name as String }
        }
    
        FileCollection path(String... entries) {
            Set<File> files = entries.collect { entry ->
                if (entry.endsWith('.jar')) {
                    def jar = tmpDir.file(entry)
                    def manifest = ['Manifest-Version: 1.0']
                    if (entry.startsWith('automatic')) {
                        manifest += 'Automatic-Module-Name: auto'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 07 13:50:48 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogsAnalyzer.groovy

        }
    
        List<DaemonFixture> getAllDaemons() {
            if (!daemonLogsDir.exists() || !daemonLogsDir.isDirectory()) {
                return []
            }
            return daemonLogsDir.listFiles().findAll { it.name.endsWith('.log') && !it.name.startsWith('hs_err') }.collect { daemonForLogFile(it) }
        }
    
        List<DaemonFixture> getVisible() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top