Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for startsWith (0.24 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

                if (endIndex > 0) {
                    val packageName = zipEntry.name.substring(0, endIndex)
                    for (exclude in excludes) {
                        if ("$packageName/".startsWith("$exclude/")) {
                            return
                        }
                    }
                    builder.addWord(packageName)
                }
            }
        }
    
        @get:OutputFile
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  2. .cm/plugins/filters/byPlatform/index.js

        });
        return result;
    }
    
    function getPlatform(file) {
        let result = null; // Default to null in case no platform is found
    
        if (file.startsWith('platforms/')) {
            const parts = file.split('/');
            result = parts[1];
        }
    
        console.log(file + " = " + result);
        return result;
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntries.kt

            "Failed to extract plugin metadata from '" + jar.path + "'",
            cause
        )
    }
    
    
    private
    fun isGradlePluginPropertiesFile(entry: JarEntry) = entry.run {
        !isDirectory && name.run { startsWith("META-INF/gradle-plugins/") && endsWith(".properties") }
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

                distributionDir.parentFile.parentFile.name
            } else {
                // gradle-runtime-api-info.jar in 'build/libs'
                testTask.classpath.filter { it.name.startsWith("gradle-runtime-api-info") }.singleFile.parentFile.parentFile.parentFile.name
            }
            return (
                (if (distributionDir != null) mapOf("integTest.gradleHomeDir" to distributionDir) else emptyMap()) + mapOf(
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jul 01 22:53:59 GMT 2022
    - 8K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                if (!elementName.equals("a") || !attributes.containsKey("href")) {
                    return false;
                }
                String href = attributes.get("href");
                if (!href.startsWith("#")) {
                    return false;
                }
                Element element = document.createElement("link");
                String targetId = String.format("%s.%s", classMetaData.getClassName(), href.substring(1));
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 29.3K bytes
    - Viewed (0)
  6. .cm/plugins/filters/byCodeowner/index.js

        });
    
        return Buffer.from(res.data.content, 'base64').toString()
    }
    
    function codeownersMapping(data) {
        return data
            .toString()
            .split('\n')
            .filter(x => x && !x.startsWith('#'))
            .map(x => x.split("#")[0])
            .map(x => {
                const line = x.trim();
                const [path, ...owners] = line.split(/\s+/);
                return {path, owners};
            });
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt

            parameters.releasedVersionsFile.get().asFile.forEachLine(Charsets.UTF_8) {
                val line = it.trim()
                if (line.startsWith("\"version\"")) {
                    version = line.substring(line.indexOf("\"", 11) + 1, line.lastIndexOf("\""))
                }
                if (line.startsWith("\"buildTime\"")) {
                    var date = line.substring(line.indexOf("\"", 12) + 1, line.lastIndexOf("\""))
    HTML
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Jun 25 02:53:14 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

        override fun transform(outputs: TransformOutputs) {
            for (entry in parameters.keepClassesByArtifact) {
                val fileName = artifact.get().asFile.name
                if (fileName.startsWith(entry.key)) {
                    val nameWithoutExtension = Files.getNameWithoutExtension(fileName)
                    minify(artifact.get().asFile, entry.value, outputs.file("$nameWithoutExtension-min.jar"))
                    return
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

    }
    
    fun Test.isUnitTest() = listOf("test", "writePerformanceScenarioDefinitions", "writeTmpPerformanceScenarioDefinitions").contains(name)
    
    fun Test.usesEmbeddedExecuter() = name.startsWith("embedded")
    
    fun Test.configureRerun() {
        if (project.rerunAllTests.get()) {
            doNotTrackState("All tests should re-run")
        }
    }
    
    fun Test.determineMaxRetries() = when {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

         */
        public static boolean shouldAcceptForUpgradedProperty(JApiMethod jApiMethod, Violation violation, ViolationCheckContext context) {
            if (violation.getHumanExplanation().startsWith(SINCE_ERROR_MESSAGE)) {
                // We still want to report the violation if @since is not added to a method
                return false;
            }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top