Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for First (0.11 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                    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")){
                    toc.append("<li class=\"subTopic\"><a/></li>").children().last().select("a").first().text(name).attr("href", "#" + anchor);
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

            configurationCacheRun ":a:some"
    
            then:
            result.groupedOutput.task(":a:some").assertOutputContains("FIRST").assertOutputContains("LAST")
    
            when:
            configurationCacheRun ":a:some"
    
            then:
            result.groupedOutput.task(":a:some").assertOutputContains("FIRST").assertOutputContains("LAST")
    
            when: // rebuild task graph, with tasks from the same set of scripts
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/test/kotlin/org/gradle/internal/declarativedsl/settings/SettingsBlockCheckTest.kt

                rootProject.name = "foo"
                plugins { }
                """.trimIndent()
            )
    
            assertEquals(2, result.size)
            assertEquals(listOf(2, 4), result.map { it.location.sourceData.lineRange.first })
            assertTrue(result.all { it.reason == DocumentCheckFailureReason.DuplicatePluginsBlock })
        }
    
        @Test
        fun `reports all duplicate pluginManagement blocks`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

                pairOf(writeObjectBean)
            }) { (first, second) ->
                assertThat(
                    first,
                    sameInstance(second)
                )
                val decodedPair = first.value as Pair<*, *>
                assertThat(
                    decodedPair.first,
                    sameInstance(decodedPair.second)
                )
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

            }
            with(fixture.progress(BuildIdentifiedProgressDetails)) {
                size() == 1
                first().details.buildPath == ":"
            }
            with(fixture.progress(ProjectsIdentifiedProgressDetails)) {
                size() == 1
                with(first()) {
                    details.buildPath == ":"
                    checkProjects(details.rootProject)
                }
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/operations/overlay/DocumentOverlay.kt

         * * elements that create a new object are merged together; the elements from [underlay] will appear first;
         * * if a property appears in both sources, then the property in [overlay] overrides ("shadow") the matching property in [underlay]
         * * properties that appear only one of the sources get copied to the result together; the ones from [underlay] appear first.
         */
        fun overlayResolvedDocuments(
            underlay: DocumentWithResolution,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CollectionPropertyInternal.java

        @Override
        Class<T> getElementType();
    
        /**
         * Adds an element to the property value.
         *
         * <p>
         * When invoked on a property with no value, this method first sets the value
         * of the property to its current convention value, if set, or an empty collection.
         * </p>
         *
         * @param element The element
         */
        @Incubating
        void append(T element);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 18:32:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/support/ClassBytesRepositoryTest.kt

        }
    
        class SomeKotlin {
            interface NestedType
        }
    
        @Test
        fun `finds top-level, nested, java, kotlin types in JARs and directories`() {
    
            val jar1 = withClassJar(
                "first.jar",
                Groovydoc::class.java,
                Groovydoc.Link::class.java,
                DeepThought::class.java
            )
    
            val jar2 = withClassJar(
                "second.jar",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 17:45:10 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/ProblemDescription.kt

    fun taskPathFrom(trace: PropertyTrace): String =
        trace.sequence.filterIsInstance<PropertyTrace.Task>().first().path
    
    
    fun projectPathFrom(trace: PropertyTrace): String =
        trace.sequence.filterIsInstance<PropertyTrace.Project>().first().path
    
    
    fun firstTypeFrom(trace: PropertyTrace): Class<*> =
        trace.sequence.mapNotNull { typeFrom(it) }.first()
    
    
    private
    fun typeFrom(trace: PropertyTrace): Class<out Any>? = when (trace) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

        private
        fun endObject() {
            write('}')
        }
    
        private
        inline fun <T> jsonList(list: Iterable<T>, body: (T) -> Unit) {
            beginArray()
            var first = true
            list.forEach {
                if (first) first = false else comma()
                body(it)
            }
            endArray()
        }
    
        private
        fun beginArray() {
            write('[')
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top