Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 148 for set (0.26 sec)

  1. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/SourceDistributionResolverIntegrationTest.kt

                """
                dependencyResolutionManagement {
                    repositories {
                        ${mavenCentralRepositoryDefinition(GradleDsl.KOTLIN)}
                    }
                    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
                }
                """.trimIndent()
            )
    
            withBuildScript(
                """
    
                val sourceDirs =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 13:27:15 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PropertyStateExtensions.kt

    
    /**
     * Property delegate for [Property] instances.
     *
     * Example: `var someProperty by somePropertyState`
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        get() = propertyFromAnySource(STUDIO_HOME)
    
    
    /**
     * If set to `true`, run docs tests with the configuration cache enabled.
     */
    val Project.configurationCacheEnabledForDocsTests: Boolean
        @JvmName("isConfigurationCacheEnabledForDocsTests") get() = gradleProperty(ENABLE_CONFIGURATION_CACHE_FOR_DOCS_TESTS).orNull.toBoolean()
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/BindingsBackedCodec.kt

    typealias Decoding = DecodingProvider<Any>
    
    
    /**
     * An immutable set of bindings, from which a [Codec] can be created.
     */
    class Bindings(
        private val bindings: ImmutableList<Binding>
    ) {
        companion object {
            fun of(builder: BindingsBuilder.() -> Unit) = BindingsBuilder(emptyList()).apply(builder).build()
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

            return ProjectUsage(reusedProjects, updatedProjects)
        }
    
        private
        data class ProjectUsage(val reused: Set<Path>, val updated: Set<Path>)
    
        private
        fun commitCacheEntry(reusedProjects: Set<Path>) {
            store.useForStore { layout ->
                writeConfigurationCacheFingerprint(layout, reusedProjects)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionDocumentTransformation.kt

    
    object ConventionDocumentTransformation {
    
        fun extractConventions(
            document: DeclarativeDocument,
            resolutionContainer: DocumentResolutionContainer,
            usedSoftwareTypes: Set<String>
        ): DeclarativeDocument = object : DeclarativeDocument {
            override val content: Collection<DeclarativeDocument.DocumentNode>
                get() = document.content
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializerTest.kt

        interface Dsl {
            val property: Property<String>
        }
    
        @Test
        fun `can serialize Java lambda with Gradle model`() {
            val stored = newInstance<Dsl>().apply {
                property.set("42")
            }
            val loaded = valueCarriedBy(roundtripOf(isolatedActionLambdaWith(stored)))
            assertThat(
                loaded.property.get(),
                equalTo("42")
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompilerOptions.kt

    
    private
    val skipMetadataVersionCheckPropertyName = "org.gradle.kotlin.dsl.skipMetadataVersionCheck"
    
    
    /**
     * Read property value for compiler options.
     *
     * Kotlin compiler options for scripts can be set either via a System property or a Gradle property.
     * System properties have precedence, same as in `LayoutToPropertiesConverter`.
     */
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 03 17:11:24 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/CIBuildModel.kt

        quick(true, true, true, 120, 4),
    
        // Include cross version tests, these take care of selecting a very small set of versions to cover when run as part of this stage, including the current version
        platform(true, true, true),
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/InputTrackingStateTest.kt

            val state = InputTrackingState()
            state.disableForCurrentThread() // <1>
            state.disableForCurrentThread() // <2>
    
            state.restoreForCurrentThread() // Revert call at <2>, restore to "disabled" state set by call at <1>
            assertFalse(state.isEnabledForCurrentThread())
    
            state.restoreForCurrentThread() // Revert call at <1>, restore to "enabled" state
            assertTrue(state.isEnabledForCurrentThread())
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top