Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 41 for startswith (0.06 seconds)

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

            val releaseNotesLines: List<String> = releaseNotes.asFile.get().readLines()
            val contributorSectionBeginIndex = releaseNotesLines.indexOfFirst { it.startsWith("We would like to thank the following community members for their contributions to this release of Gradle:") } + 1
    
            if (contributorSectionBeginIndex == 0) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 07:54:08 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

            writeBytes(readLines().joinToString(separator = separator, postfix = separator) { line ->
                when {
                    // We assume that the declaration is not empty.
                    line.startsWith("DEFAULT_JVM_OPTS='") && line.endsWith('\'') -> {
                        ++replacementsCount
                        // Use shell's string concatenation: '...'"..." glues contents of quoted and double-quoted strings together.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Apr 08 01:46:59 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. build-logic-settings/configuration-cache-compatibility/src/main/kotlin/gradlebuild.configuration-cache-compatibility.settings.gradle.kts

     * limitations under the License.
     */
    import org.gradle.api.internal.plugins.DslObject
    
    run {
    
        fun String.startsWithAnyOf(vararg prefixes: String): Boolean =
            prefixes.any { prefix -> startsWith(prefix) }
    
        fun Task.typeSimpleName(): String =
            DslObject(this).declaredType.simpleName
    
        fun isIncompatible(task: Task): Boolean = when {
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jan 15 16:07:38 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            Map<AccessorKey, ReplacedAccessor> oldRemovedAccessors = context.getUserData(OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES);
    
            if (violation.getHumanExplanation().startsWith(SINCE_ERROR_MESSAGE)) {
                // We want to keep @since nagging for new methods, unless it's `getX` or `getIsX` method that replaces `isX` boolean method.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

    fun Task.isClasspathManifest() = this.javaClass.simpleName.startsWith("ClasspathManifest")
    
    // https://youtrack.jetbrains.com/issue/KT-49915
    fun Task.isKotlinJsIrLink() = this.javaClass.simpleName.startsWith("KotlinJsIrLink")
    
    fun isMonitoredAsciidoctorTask() = false // No asciidoctor tasks are cacheable for now
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 20:57:49 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                String anchor = (link != null) ? link.attr("id") : "";
                if(!name.startsWith("Table") && tag.equals("h2")){
                    toc.append("<li class=\"mainTopic\"><a/></li>").children().last().select("a").first().text(name).attr("href", "#" + anchor);
                } else if(!name.startsWith("Table") && tag.equals("h3")){
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

        protected abstract Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass)
    
        protected boolean isInternal(CtClass c) {
            if (c.name.startsWith("java.")) {
                return false
            } else if (c.name.contains('.internal.')) {
                return true
            } else {
                return !publicApiPatterns.any { it.matcher(c.name).find() }
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            when:
            sourceFile.text = apiElement.startsWith('enum') ? """
                    public enum $TEST_INTERFACE_SIMPLE_NAME {
                        field;
                        void method() { }
                    }
                """
                : apiElement.startsWith('annotation') ? """
                    public @interface $TEST_INTERFACE_SIMPLE_NAME {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 16K bytes
    - Click Count (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                                // We can't keep this info intact, ignore this.
                                return
                            }
                            val outputPrefix = if (file.startsWith("/META-INF/versions")) {
                                // Java 9 multi-release JAR entry, we must keep it nested in the output
                                file.subpath(0, 3).toString()
                            } else {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Mar 22 03:48:38 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                Element classNameElement = document.createElement("classname");
                classNameElement.appendChild(document.createTextNode(className));
                return classNameElement;
            }
    
            if (className.startsWith("java.")) {
                Element linkElement = document.createElement("ulink");
                linkElement.setAttribute("url", String.format("https://docs.oracle.com/javase/%s/docs/api/%s.html", javaVersion,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top