Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 322 for realizes (0.17 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/OutputEventRendererTest.groovy

            then:
            outputs.stdOut.readLines() == ['message']
            outputs.stdErr == ''
        }
    
        def rendersErrorLogEventsToStdErr() {
            when:
            renderer.attachSystemOutAndErr()
            renderer.onOutput(event('message', LogLevel.ERROR))
    
            then:
            outputs.stdOut == ''
            outputs.stdErr.readLines() == ['message']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetector.java

                    return Collections.emptyMap();
                }
                List<String> lines = readLines(incrementalProcessorDeclaration);
                return parseIncrementalProcessors(lines);
            }
    
            private List<String> readLines(File file) throws IOException {
                return Files.asCharSource(file, Charsets.UTF_8).readLines(new MetadataLineProcessor());
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskOverwritingIntegrationTest.groovy

                def myTask = tasks.register("myTask", SomeTask) {
                    assert false, "This task is overwritten before been realized"
                }
                myTask.configure {
                    assert false, "This task is overwritten before been realized"
                }
    
                tasks.create(name: "myTask", type: SomeOtherTask, overwrite: true) {
                   println "Configure ${path}"
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 13 09:05:07 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/plugins/VisualStudioPluginRules.java

            }
        }
    
        static class VisualStudioPluginRootRules extends RuleSource {
            // This ensures that subprojects are realized and register their project and project configuration IDE artifacts
            @Mutate
            public static void ensureSubprojectsAreRealized(TaskContainer tasks, ProjectIdentifier projectIdentifier, ServiceRegistry serviceRegistry) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/PublishArtifactLocalArtifactMetadata.java

            this.componentIdentifier = componentIdentifier;
            this.publishArtifact = publishArtifact;
            // In case the publish artifact is backed by an ArchiveTask, this causes the task to be realized.
            // However, if we are at this point, we need the realized task to determine the archive extension/type later
            // to set the 'artifactType' attribute required in matching (even if the variant with the artifact is not selected in the end).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesErrorHandlingIntegrationTest.groovy

                }
            """
            resolve.prepare()
        }
    
        def "produces sensible error when bad code is supplied in component metadata rule" () {
            def lines = buildFile.readLines().size()
            buildFile << """
                class WrongRule implements ComponentMetadataRule {
                    public void execute(ComponentMetadataContext context) {
                        foo()
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/ReadelfBinaryInfo.groovy

            def process = ['readelf', '-h', binaryFile.absolutePath].execute()
            List<String> lines = process.inputStream.readLines()
            return readArch(lines)
        }
    
        List<String> listObjectFiles() {
            def process = ['ar', '-t', binaryFile.getAbsolutePath()].execute()
            return process.inputStream.readLines()
        }
    
        List<String> listLinkedLibraries() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 15:17:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ProjectVariantResolutionIntegrationTest.groovy

    class ProjectVariantResolutionIntegrationTest extends AbstractIntegrationSpec implements VariantAwareDependencyResolutionTestFixture, TasksWithInputsAndOutputs {
        def "does not realize tasks that produce outgoing artifacts that are not required"() {
            createDirs("a", "b")
            settingsFile << """
                include 'a', 'b'
            """
            setupBuildWithColorVariants()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

        }
        def "resolution result does not realize artifact tasks"() {
            createDirs("producer")
            settingsFile << "include 'producer'"
            file("producer/build.gradle") << """
                plugins {
                    id("base")
                }
    
                def fooTask = tasks.register("foo", Zip) {
                    throw new RuntimeException("Realized artifact task")
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultRealizableTaskCollection.java

    public class DefaultRealizableTaskCollection<T extends Task> extends DelegatingNamedDomainObjectSet<T> implements TaskCollection<T>, TaskDependencyContainer {
    
        private final Class<T> type;
        private final AtomicBoolean realized = new AtomicBoolean();
        private final MutableModelNode modelNode;
        private final Instantiator instantiator;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:18:33 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top