Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 159 for ancestors (0.22 sec)

  1. platforms/documentation/docs/src/snippets/kotlinDsl/configuring-tasks-spring-boot/groovy/build.gradle

    // TODO:Finalize Upload Removal - Issue #21439
    // tag::lazy[]
    // tag::accessors[]
    plugins {
        id 'java'
        id 'org.springframework.boot' version '2.7.8'
    }
    
    // end::lazy[]
    // end::accessors[]
    
    // tag::accessors[]
    tasks.bootJar {
        archiveFileName = 'app.jar'
        mainClass = 'com.example.demo.Demo'
    }
    
    tasks.bootRun {
        mainClass = 'com.example.demo.Demo'
        args '--spring.profiles.active=demo'
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 664 bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessorsTest.kt

     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.accessors.tasks
    
    import org.gradle.api.Project
    import org.gradle.api.plugins.ExtraPropertiesExtension
    import org.gradle.api.tasks.Delete
    import org.gradle.api.tasks.SourceSet
    import org.gradle.api.tasks.SourceSetContainer
    import org.gradle.api.tasks.TaskContainer
    import org.gradle.kotlin.dsl.accessors.ConfigurationEntry
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/kotlinDsl/configuring-tasks-spring-boot/kotlin/build.gradle.kts

    import org.springframework.boot.gradle.tasks.run.BootRun
    
    // TODO:Finalize Upload Removal - Issue #21439
    // tag::accessors[]
    plugins {
        java
        id("org.springframework.boot") version "2.7.8"
    }
    
    // end::lazy[]
    // end::accessors[]
    
    // tag::accessors[]
    tasks.bootJar {
        archiveFileName = "app.jar"
        mainClass = "com.example.demo.Demo"
    }
    
    tasks.bootRun {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 800 bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelPropertyExtractionResult.java

        private final ModelProperty<T> property;
        private final Iterable<PropertyAccessorExtractionContext> accessors;
    
        public ModelPropertyExtractionResult(ModelProperty<T> property, Iterable<PropertyAccessorExtractionContext> accessors) {
            this.property = property;
            this.accessors = ImmutableSet.copyOf(accessors);
        }
    
        public ModelProperty<T> getProperty() {
            return property;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/ModelProperty.java

        private ModelSchema<T> schema;
    
        public ModelProperty(ModelType<T> type, String name, Set<ModelType<?>> declaredBy,
                             Map<PropertyAccessorType, WeaklyTypeReferencingMethod<?, ?>> accessors) {
            this.name = name;
            this.type = type;
            this.declaredBy = ImmutableSet.copyOf(declaredBy);
            this.accessors = Maps.immutableEnumMap(accessors);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaLambdaAccessorsIntegrationTest.kt

    import org.junit.Test
    import spock.lang.Issue
    
    
    @LeaksFileHandles("Kotlin Compiler Daemon working directory")
    class ProjectSchemaLambdaAccessorsIntegrationTest : AbstractKotlinIntegrationTest() {
        @Test
        fun `accessors to __untyped__ groovy closures extensions are typed Any`() {
    
            withDefaultSettings()
            PluginBuilder(file("buildSrc")).apply {
                addPlugin(
                    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/plugins/dependenciesBlock/common/buildSrc/src/main/java/com/example/ExampleExtension.java

        // tag::dependencies-accessors[]
        /**
         * Custom dependencies for this extension.
         */
        @Nested
        ExampleDependencies getDependencies();
    
        /**
         * Configurable block
         */
        default void dependencies(Action<? super ExampleDependencies> action) {
            action.execute(getDependencies());
        }
        // end::dependencies-accessors[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 20:29:08 UTC 2024
    - 553 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top