Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 394 for realize (0.14 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/GradleProjectBuilder.java

            }
    
            return gradleProject;
        }
    
        private static List<LaunchableGradleProjectTask> collectTasks(DefaultGradleProject owner, TaskContainerInternal tasks) {
            tasks.discoverTasks();
            tasks.realize();
    
            return tasks.getNames().stream()
                .map(tasks::findByName)
                .filter(Objects::nonNull)
                .map(task -> buildTask(owner, task))
                .collect(toList());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/GradleProjectBuilderOptions.java

    import org.gradle.api.NonNullApi;
    
    @NonNullApi
    public class GradleProjectBuilderOptions {
    
        /**
         * Determines whether a builder for the {@link org.gradle.tooling.model.GradleProject} model should realize tasks.
         * <p>
         * This method has to be invoked during builder execution time to provide an effective value.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 03 17:25:26 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedNodeBackedModelMapTest.groovy

        }
    
        def "can put existing unmanaged instance"() {
            when:
            mutate {
                put("foo", "bar")
            }
    
            then:
            registry.realize("map.foo", String) == "bar"
        }
    
        @Managed
        abstract static class Invalid<T> implements SpecialNamedThingInterface {}
    
        def "cannot create invalid subtype"() {
            when:
            mutate {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/cunit/CUnitTest.groovy

                components {
                    main(NativeLibrarySpec)
                }
            }
            project.evaluate()
    
            when:
            CUnitTestSuiteSpec testSuite = project.modelRegistry.realize("testSuites", modelMap(TestSuiteSpec)).mainTest
            def sources = testSuite.sources.values()
            def binaries = testSuite.binaries.values()
    
            then:
            sources.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/test/groovy/org/gradle/language/base/plugins/ComponentModelBasePluginTest.groovy

            dsl {
                apply plugin: ComponentModelBasePlugin
                model {
                    baseComponent(type) {
                    }
                }
            }
    
            then:
            type.isInstance(realize("baseComponent"))
    
            where:
            type                 | _
            GeneralComponentSpec | _
            ApplicationSpec      | _
            LibrarySpec          | _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestOptionsIntegrationSpec.groovy

            // Configure task through suite
            testing {
                suites {
                    test {
                        useJUnitJupiter()
                        targets.all {
                            // explicitly realize the task now to cause this configuration to run now
                            testTask.get().configure {
                                options {
                                    includeTags 'fast'
                                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ForceRealizedMetadataIntegrationTest.groovy

    class ForceRealizedMetadataIntegrationTest extends AbstractHttpDependencyResolutionTest {
        MavenHttpModule direct
        MavenHttpModule transitive
    
        def setup() {
            executer.withArgument("-Dorg.gradle.integtest.force.realize.metadata=true")
    
            buildFile << """
                plugins {
                    id 'java'
                }
    
                repositories {
                    maven { url '$mavenHttpRepo.uri' }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/plugins/BinaryBasePluginTest.groovy

            when:
            dsl {
                apply plugin: BinaryBasePlugin
                model {
                    baseBinary(BinarySpec) {
                    }
                }
            }
    
            then:
            realize("baseBinary") instanceof BinarySpec
        }
    
        def "adds a 'binaries' container to the project model"() {
            when:
            dsl {
                apply plugin: BinaryBasePlugin
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. platforms/software/test-suites-base/src/test/groovy/org/gradle/testing/base/plugins/TestingModelBasePluginTest.groovy

            dsl {
                apply plugin: TestingModelBasePlugin
                model {
                    baseComponent(TestSuiteSpec) {
                    }
                }
            }
    
            then:
            realize("baseComponent") instanceof TestSuiteSpec
        }
    
        def "adds a 'testSuites' container to the project model"() {
            when:
            dsl {
                apply plugin: TestingModelBasePlugin
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 16:02:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/testFixtures/groovy/org/gradle/platform/base/PlatformBaseSpecification.groovy

        TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass())
    
        final def project = TestUtil.create(testDir).rootProject()
        @Rule SetRuleContext setContext = new SetRuleContext()
    
        def realize(String name) {
            project.modelRegistry.find(name, ModelType.UNTYPED)
        }
    
        ModelMap<Task> realizeTasks() {
            project.modelRegistry.find("tasks", ModelTypes.modelMap(Task))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top