Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,274 for Resolution (0.21 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/reflection/utils.kt

    
    fun AnalysisSchema.reflect(code: String): ObjectReflection {
        val resolution = resolve(code)
        val trace = assignmentTrace(resolution)
        val context = ReflectionContext(SchemaTypeRefContext(this), resolution, trace)
        val topLevel = org.gradle.internal.declarativedsl.objectGraph.reflect(resolution.topLevelReceiver, context)
    
        return topLevel
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/ModuleArtifactCache.java

    import java.io.File;
    import java.util.List;
    
    public interface ModuleArtifactCache {
        /**
         * Adds a resolution to the index.
         *
         * The incoming file is expected to be in the persistent local. This method will not move/copy the file there. <p>
         *  @param key The key to cache this resolution under in the index. Cannot be null.
         * @param artifactFile The artifact file in the persistent file store. Cannot be null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/AssignmentResolverDemo.kt

        @JvmStatic
        fun main(args: Array<String>) {
            val resolution = schema.resolve(
                """
                val myD = newD("shared")
    
                val c1 = c(1)
                c1.d = myD
                str = c1.d.id
                """.trimIndent()
            )
            printResolutionResults(resolution)
            printResolvedAssignments(resolution)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 647 bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/EmptyBlocksTest.kt

    
    object EmptyBlocksTest {
        @Test
        fun `empty configuring block leads to object access`() {
            val resolution = schema.resolve(
                """
                configuring { }
                """.trimIndent()
            )
    
            val result = runtimeInstanceFromResult(schema, resolution, kotlinFunctionAsConfigureLambda, RuntimeCustomAccessors.none, ::TopLevel)
    
            assertTrue { result.configuredLazy.isInitialized() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ResolutionStrategyInternal.java

        /**
         * Discard any configuration state that is not required after graph resolution has been attempted.
         */
        void maybeDiscardStateRequiredForGraphResolution();
    
        /**
         * Sets whether or not any configuration resolution is final and the state required for resolution can be
         * discarded.  Setting this to true implies that the configuration may be re-resolved again in the future.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/LocalValueTest.kt

            val resolution = schema.resolve(
                """
                val m = my1()
    
                my {
                    my = m
                }
    
                my {
                    val m = my2()
                    my = m
                }
                """.trimIndent()
            )
    
            val rhsOrigins = resolution.assignments.map { it.rhs as ObjectOrigin.FromLocalValue }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 12:28:39 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/cached/CachedExternalResourceIndex.java

    /**
     * Provides an indexed view into cached artifacts and a record of resolution attempts, successful or not.
     *
     * Maintains references to the location of files in the persistent local. Does not deal with moving files into the local.
     *
     * @param <K> The type of the key to the index
     */
    public interface CachedExternalResourceIndex<K> {
    
        /**
         * Adds a resolution to the index.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/transformation/OriginReplacementTest.kt

    import kotlin.test.Test
    import kotlin.test.assertEquals
    
    
    object OriginReplacementTest {
        @Test
        fun `replaces configured object access and function call receiver`() {
            with(resolution("configuring { property = value() }")) {
                val assignment = assignments.single()
                val lhs = replaceInnerReceiverWithTopLevel(assignment.lhs.receiverObject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:31:36 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

    import org.eclipse.aether.resolution.ArtifactDescriptorException;
    import org.eclipse.aether.resolution.ArtifactDescriptorPolicy;
    import org.eclipse.aether.resolution.ArtifactDescriptorPolicyRequest;
    import org.eclipse.aether.resolution.ArtifactDescriptorRequest;
    import org.eclipse.aether.resolution.ArtifactDescriptorResult;
    import org.eclipse.aether.resolution.ArtifactRequest;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/ResolutionFailureDescriber.java

     */
    
    package org.gradle.internal.component.resolution.failure.describer;
    
    import org.gradle.api.internal.attributes.AttributesSchemaInternal;
    import org.gradle.internal.component.resolution.failure.exception.AbstractResolutionFailureException;
    import org.gradle.internal.component.resolution.failure.type.ResolutionFailure;
    
    import java.util.Optional;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top