Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 140 for ancestors (0.65 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginAccessorsIntegrationTest.kt

    import org.junit.Test
    
    
    @LeaksFileHandles("Kotlin Compiler Daemon working directory")
    class PrecompiledScriptPluginAccessorsIntegrationTest : AbstractKotlinIntegrationTest() {
    
        @Test
        fun `accessors are available after script body change`() {
    
            withKotlinBuildSrc()
            val myPluginScript = withFile(
                "buildSrc/src/main/kotlin/my-plugin.gradle.kts",
                """
                plugins { base }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:16:19 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/kotlinDsl/noAccessors/kotlin/build.gradle.kts

    // tag::no-accessors[]
    // tag::dependencies[]
    // tag::project-extension[]
    // tag::tasks[]
    // tag::project-container-extension[]
    apply(plugin = "java-library")
    
    // end::project-extension[]
    // end::tasks[]
    // end::project-container-extension[]
    dependencies {
        "api"("junit:junit:4.13")
        "implementation"("junit:junit:4.13")
        "testImplementation"("junit:junit:4.13")
    }
    
    configurations {
        "implementation" {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

                String formattedLeft = CollectionUtils.join("\n", keptAccessors.keySet());
                throw new RuntimeException("The following accessors were upgraded, but didn't match any removed/changed method:\n\n" + formattedLeft);
            }
    
            // Find accessors that were removed but shouldn't be
            Map<AccessorKey, ReplacedAccessor> removedAccessors = new HashMap<>(oldAccessorsOfUpgradedProperties);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelGraph.java

                addEverythingListener(listener);
                return;
            }
    
            ModelNodeInternal ancestor = flattened.get(listener.getAncestor());
            if (ancestor != null) {
                Deque<ModelNodeInternal> queue = new ArrayDeque<ModelNodeInternal>();
                queue.add(ancestor);
                while (!queue.isEmpty()) {
                    ModelNodeInternal parent = queue.removeFirst();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/kotlinDsl/accessors/kotlin/build.gradle.kts

    // tag::accessors[]
    plugins {
        `java-library`
    }
    
    dependencies {                              // <1>
        api("junit:junit:4.13")
        implementation("junit:junit:4.13")
        testImplementation("junit:junit:4.13")
    }
    
    configurations {                            // <1>
        implementation {
            resolutionStrategy.failOnVersionConflict()
        }
    }
    
    sourceSets {                                // <2>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 833 bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/Emitter.kt

        makeAccessorOutputDirs(srcDir, binDir, outputPackage.path)
    
        // When building accessors for Settings, preserve semantics for existing custom accessors by
        // giving the generated accessors lower priority in Kotlin overload resolution.
        val useLowPriorityOverloadResolution = projectSchema.scriptTarget is Settings
        val moduleName = binDir?.name ?: "kotlin-dsl-accessors"
        val emittedClassNames =
            accessorsFor(projectSchema).map { accessor ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/cache/KotlinDslWorkspaceProvider.kt

                .createCacheBuilder("kotlin-dsl")
                .withDisplayName("kotlin-dsl"),
            fileAccessTimeJournal,
            2, // scripts and accessors caches sit below the root directory
            cacheConfigurations
        )
    
        val accessors = subWorkspace("accessors")
    
        val scripts = subWorkspace("scripts")
    
        override fun close() =
            kotlinDslWorkspace.close()
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 18:54:15 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineDelegatedPropertyAccessorsAnalyzer.kt

        // the index doesn't cover classfiles from compiler output,
        // so the lowering fails.
        //
        // To solve the problem, we need to find all delegated properties with inline accessors
        // reachable from files that will be compiled, and include files these inline accessors
        // to the set of files that will be compiled (and do the same for these files recursively).
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/stored.rules

    #
    #Fri Jan 19 18:01:32 EST 2024
    classes\ that\ are\ Gradle\ public\ API\ should\ have\ accessors\ with\ symmetrical\ @Nullable\ annotations=public-api-symmetrical-accessors-nullability.txt
    classes\ that\ are\ Gradle\ public\ API\ should\ not\ have\ direct\ super-class\ or\ interface\ that\ are\ Gradle\ Internal\ API=public-api-not-extends-internal-types.txt
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/architecture/PackageDependencyRulesTest.kt

        }
    
        @Test
        fun `support should not depend on codegen`() {
            "..support.." shouldNotDependOn "..kotlin.dsl.codegen.."
        }
    
        @Test
        fun `accessors should not depend on execution`() {
            "..accessors.." shouldNotDependOn "..kotlin.dsl.execution.."
        }
    
        private
        infix fun String.shouldNotDependOn(thatPackage: String) {
            noClasses()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top